You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Remove `deadcode` and `depguard` linters from `.golangci.yml`
- Add `varcheck` linter to `.golangci.yml`
- Update comments in `redis.go` file:
- Remove comment `// NewWorker for struc`
- Add comment explaining `NewWorker` function and its responsibilities
- Update comment explaining the initialization of Redis client in `NewWorker` function
- Update comment explaining the condition for initializing Redis client in `NewWorker` function
- Update comment explaining the initialization of Redis client with sentinel in `NewWorker` function
- Update comment explaining the condition for initializing Redis client with sentinel in `NewWorker` function
- Remove unnecessary code for initializing Redis client in `NewWorker` function
Signed-off-by: Bo-Yi Wu <[email protected]>
0 commit comments