Skip to content

Commit 02350be

Browse files
committed
Action type is string
1 parent 5c4ba52 commit 02350be

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

service/notifier/notifier.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ import (
44
"context"
55
)
66

7-
type ActionType int
7+
type ActionType string
88

99
const (
10-
ActionUnknown ActionType = iota
11-
ActionCreate
12-
ActionUpdate
13-
ActionDelete
10+
ActionUnknown ActionType = "unknown"
11+
ActionCreate ActionType = "create"
12+
ActionUpdate ActionType = "update"
13+
ActionDelete ActionType = "delete"
1414
)
1515

1616
type Action struct {

0 commit comments

Comments
 (0)