()
| 31 | } |
| 32 | |
| 33 | func init() { |
| 34 | //加载脚本 |
| 35 | if script == "" { |
| 36 | t, _ := os.ReadFile(scriptPath) |
| 37 | script = string(t) |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | func NewRedisCmd(cmd redis.Cmdable) RedisEXCmd { |
| 42 | return &redisEXCmd{ |
nothing calls this directly
no outgoing calls
no test coverage detected