phalanx
phalanx copied to clipboard
Compile error
./detectord.go:175:36: not enough arguments in call to client.cmdable.Scan have (uint64, string, number) want (context.Context, uint64, string, int64) ./detectord.go:190:34: not enough arguments in call to client.cmdable.Get have (string) want (context.Context, string) ./detectord.go:215:16: not enough arguments in call to client.cmdable.FlushAll have () want (context.Context) ./detectord.go:252:36: not enough arguments in call to client.cmdable.Scan have (uint64, string, number) want (context.Context, uint64, string, int64) ./detectord.go:271:34: not enough arguments in call to client.cmdable.Get have (string) want (context.Context, string) ./detectord.go:288:63: not enough arguments in call to ban_client.cmdable.Set have (string, string, time.Duration) want (context.Context, string, interface {}, time.Duration) ./detectord.go:293:63: not enough arguments in call to ban_client.cmdable.Set have (string, string, time.Duration) want (context.Context, string, interface {}, time.Duration) ./detectord.go:297:31: client.FlushDb undefined (type *redis.Client has no field or method FlushDb) ./detectord.go:319:63: not enough arguments in call to ban_client.cmdable.Set have (string, string, time.Duration) want (context.Context, string, interface {}, time.Duration) ./detectord.go:325:63: not enough arguments in call to ban_client.cmdable.Set have (string, string, time.Duration) want (context.Context, string, interface {}, time.Duration) ./detectord.go:325:63: too many errors