1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-28 06:42:00 +03:00

golint warnings are removed

This commit is contained in:
Veselkov Konstantin
2018-01-24 22:38:47 +04:00
parent 4021ace056
commit ea4d6c3490
5 changed files with 44 additions and 44 deletions

View File

@ -81,9 +81,9 @@ func cmdFirstKeyPos(cmd Cmder, info *CommandInfo) int {
case "eval", "evalsha":
if cmd.stringArg(2) != "0" {
return 3
} else {
return 0
}
return 0
case "publish":
return 1
}