1 parent 5c4ba52 commit 02350beCopy full SHA for 02350be
1 file changed
service/notifier/notifier.go
@@ -4,13 +4,13 @@ import (
4
"context"
5
)
6
7
-type ActionType int
+type ActionType string
8
9
const (
10
- ActionUnknown ActionType = iota
11
- ActionCreate
12
- ActionUpdate
13
- ActionDelete
+ ActionUnknown ActionType = "unknown"
+ ActionCreate ActionType = "create"
+ ActionUpdate ActionType = "update"
+ ActionDelete ActionType = "delete"
14
15
16
type Action struct {
0 commit comments