refactor: 优化并整理代码 #6
Annotations
6 errors
build:
middlewares/activelimit/redislimit/builder_test.go#L61
cannot use redisClient (variable of type *mocks.MockCmdable) as redis.Cmdable value in return statement: *mocks.MockCmdable does not implement redis.Cmdable (missing method BFReserveWithArgs)
|
build:
middlewares/activelimit/redislimit/builder_test.go#L89
cannot use redisClient (variable of type *mocks.MockCmdable) as redis.Cmdable value in return statement: *mocks.MockCmdable does not implement redis.Cmdable (missing method BFReserveWithArgs)
|
build:
middlewares/activelimit/redislimit/builder_test.go#L126
cannot use redisClient (variable of type *mocks.MockCmdable) as redis.Cmdable value in return statement: *mocks.MockCmdable does not implement redis.Cmdable (missing method BFReserveWithArgs)
|
build:
middlewares/activelimit/redislimit/builder_test.go#L169
cannot use redisClient (variable of type *mocks.MockCmdable) as redis.Cmdable value in return statement: *mocks.MockCmdable does not implement redis.Cmdable (missing method BFReserveWithArgs)
|
build:
middlewares/activelimit/redislimit/builder_test.go#L200
cannot use redisClient (variable of type *mocks.MockCmdable) as redis.Cmdable value in return statement: *mocks.MockCmdable does not implement redis.Cmdable (missing method BFReserveWithArgs)
|
build
Process completed with exit code 1.
|