修改connect函数定义
This commit is contained in:
1 parent
d2639ccf22
commit
bdde879238
1 file changed
+1
-1
Vendored
+1
-1
@@ -5,7 +5,7 @@ import (
|
||||
)
|
||||
|
||||
type Adapter interface {
|
||||
Connect()
|
||||
Connect() error
|
||||
Get(key string) (string, error)
|
||||
Set(key string, val interface{}, expire int) error
|
||||
Del(key string) error
|
||||
|
||||
Reference in new issue
Block a user