Implement list and fix test
This commit is contained in:
3
type.go
3
type.go
@@ -9,6 +9,7 @@ type Type int
|
||||
const (
|
||||
MAP = Type(iota)
|
||||
REDIS = Type(iota)
|
||||
DYNOMITE = Type(iota)
|
||||
BOLT = Type(iota)
|
||||
COCKROACH = Type(iota)
|
||||
CACHE = Type(iota)
|
||||
@@ -21,6 +22,8 @@ const (
|
||||
|
||||
func (t Type) String() string {
|
||||
switch t {
|
||||
case DYNOMITE:
|
||||
return "dynomite"
|
||||
case REDIS:
|
||||
return "redis"
|
||||
case MAP:
|
||||
|
||||
Reference in New Issue
Block a user