Merge pull request #29 from FantasyRL/not_main #36
golangci.yml
on: push
go-mod
20s
golangci-lint
4m 45s
Annotations
11 errors and 1 warning
go-mod
Process completed with exit code 1.
|
golangci-lint:
cmd/chat/dal/mq/init.go#L28
field `exchange` is unused (unused)
|
golangci-lint:
pkg/utils/remote/nacos_manager.go#L88
S1000: should use for range instead of for { select {} } (gosimple)
|
golangci-lint:
cmd/api/biz/ws/monitor/chat.go#L57
S1000: should use for range instead of for { select {} } (gosimple)
|
golangci-lint:
cmd/api/biz/ws/monitor/chat.go#L26
errorsas: second argument to errors.As should not be *error (govet)
|
golangci-lint:
pkg/utils/remote/config_remote_provider.go#L25
unreachable: unreachable code (govet)
|
golangci-lint:
pkg/utils/remote/config_remote_provider.go#L29
ineffectual assignment to err (ineffassign)
|
golangci-lint:
cmd/user/limiter.go#L29
ineffectual assignment to u (ineffassign)
|
golangci-lint:
cmd/user/limiter.go#L28
SA4009: argument u is overwritten before first use (staticcheck)
|
golangci-lint:
pkg/utils/utils.go#L72
SA4006: this value of `err` is never used (staticcheck)
|
golangci-lint
issues found
|
go-mod
Restore cache failed: Dependencies file is not found in /home/runner/work/bibi-rpc/bibi-rpc. Supported file pattern: go.sum
|