mirror of
https://github.com/charlienet/go-mixed.git
synced 2025-07-18 00:22:41 +08:00
update
This commit is contained in:
@ -128,7 +128,10 @@ func (rdb redisClient) Prefix() string {
|
||||
}
|
||||
|
||||
func (rdb redisClient) LoadFunction(code string) {
|
||||
rdb.FunctionLoadReplace(context.Background(), code)
|
||||
_, err := rdb.FunctionLoadReplace(context.Background(), code).Result()
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
}
|
||||
|
||||
func (rdb redisClient) Separator() string {
|
||||
|
Reference in New Issue
Block a user