Skip to content

Merge pull request #29 from FantasyRL/not_main #36

Merge pull request #29 from FantasyRL/not_main

Merge pull request #29 from FantasyRL/not_main #36

Triggered via push June 28, 2024 09:50
Status Failure
Total duration 4m 55s
Artifacts

golangci.yml

on: push
Fit to window
Zoom out
Zoom in

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