.
This commit is contained in:
parent
0ad3637ab4
commit
904d06dffe
15
observer/const.go
Normal file
15
observer/const.go
Normal file
|
@ -0,0 +1,15 @@
|
|||
package observer
|
||||
|
||||
import "strconv"
|
||||
|
||||
type KEY int
|
||||
func (k KEY) String() string {
|
||||
return strconv.Itoa(int(k))
|
||||
}
|
||||
|
||||
const (
|
||||
ADD_CRAWLER = KEY(iota)
|
||||
REMOVE_CRAWLER
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user