MCPcopy Create free account
hub / github.com/GoSimplicity/LinkMe / init

Function init

internal/repository/cache/redis_cmd.go:33–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected