From 904d06dffe96080e25245d1e2b98684286a73bb1 Mon Sep 17 00:00:00 2001 From: "jackdaw@loafle.com" Date: Fri, 14 Apr 2017 17:14:42 +0900 Subject: [PATCH] . --- observer/const.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 observer/const.go diff --git a/observer/const.go b/observer/const.go new file mode 100644 index 0000000..e0b5faa --- /dev/null +++ b/observer/const.go @@ -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 +) + +