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

Fix golangci

This commit is contained in:
Vladimir Mihailenco
2020-07-16 10:01:27 +03:00
parent 14c843ef89
commit 38c87c1f84
8 changed files with 41 additions and 48 deletions

View File

@ -1655,21 +1655,6 @@ loop:
return ss
}
func remove(ss []string, es ...string) []string {
if len(es) == 0 {
return ss[:0]
}
for _, e := range es {
for i, s := range ss {
if s == e {
ss = append(ss[:i], ss[i+1:]...)
break
}
}
}
return ss
}
//------------------------------------------------------------------------------
type cmdsMap struct {