0, PoolSize: 10, } client := redis.NewClient(&options) fileBytes, err := ioutil.ReadFile("path") if err != nil { return } sha, err := client.ScriptLoad(string(fileBytes)).Result() if err != nil { return } keys := []string{"redenvelopeID"} args := []string{"get_redenvelope", "userID"} res, err := client.EvalSha(sha, keys, args).Result() 9