Add more tests (#1949)

* add more test code

* add more test code
This commit is contained in:
zryfish
2020-03-15 10:22:39 +08:00
committed by GitHub
parent f8e7d06b07
commit abf0d66b22
13 changed files with 444 additions and 55 deletions

View File

@@ -2,6 +2,8 @@ package cache
import "time"
var NeverExpire = time.Duration(0)
type Interface interface {
// Keys retrieves all keys match the given pattern
Keys(pattern string) ([]string, error)