fix lint error #26
Annotations
10 errors and 2 warnings
lint:
ratelimit.go#L20
undefined: redis (typecheck)
|
lint:
timewindow/time_window.go#L82
s.Lock undefined (type *SlideTimeWindowLimiter has no field or method Lock) (typecheck)
|
lint:
timewindow/time_window.go#L83
s.Unlock undefined (type *SlideTimeWindowLimiter has no field or method Unlock) (typecheck)
|
lint:
counter/counter_limiter.go#L35
undefined: redis (typecheck)
|
lint:
counter/counter.go#L16
c.Lock undefined (type *Counter has no field or method Lock) (typecheck)
|
lint:
counter/counter.go#L17
c.Unlock undefined (type *Counter has no field or method Unlock) (typecheck)
|
lint:
counter/counter_limiter.go#L67
r.Interval undefined (type CounterLimiter has no field or method Interval) (typecheck)
|
lint:
counter/counter_limiter.go#L75
r.RedisClient undefined (type CounterLimiter has no field or method RedisClient) (typecheck)
|
lint:
counter/counter_limiter.go#L80
r.RedisClient undefined (type CounterLimiter has no field or method RedisClient) (typecheck)
|
lint:
counter/counter_limiter.go#L100
r.Lock undefined (type *CounterLimiter has no field or method Lock) (typecheck)
|
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|