修改connect函数定义

This commit is contained in:
linwenxiang
2020-08-06 00:25:21 +08:00
parent d2639ccf22
commit bdde879238
+1 -1
View File
@@ -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