Update to latest wrstat (#10) #47
Annotations
10 errors and 4 warnings
golangci-lint:
cmd/where.go#L484
`humanize` is a misspelling of `humanise` (misspell)
|
golangci-lint:
cmd/root.go#L104
`info` - `a` always receives `nil` (unparam)
|
golangci-lint:
internal/fs/fs.go#L82
type `pathTime` is unused (unused)
|
golangci-lint:
cmd/root.go#L44
const `connectTimeout` is unused (unused)
|
golangci-lint:
server/server_test.go#L932
shadow: declaration of "err" shadows declaration at line 919 (govet)
|
golangci-lint:
server/server_test.go#L943
shadow: declaration of "err" shadows declaration at line 919 (govet)
|
golangci-lint:
cmd/where.go#L208
fmt.Sprintf can be replaced with faster strconv.Itoa (perfsprint)
|
golangci-lint:
cmd/where.go#L483
fmt.Sprintf can be replaced with faster strconv.FormatUint (perfsprint)
|
golangci-lint:
cmd/where.go#L485
fmt.Sprintf can be replaced with faster strconv.Itoa (perfsprint)
|
golangci-lint:
cmd/where.go#L486
fmt.Sprintf can be replaced with faster strconv.Itoa (perfsprint)
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3, actions/checkout@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
golangci-lint:
cmd/where.go#L163
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
cmd/version.go#L43
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
cmd/server.go#L111
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
Loading