lint #295
Annotations
10 errors and 4 warnings
tlwire/encdec_test.go#L42
declaration has 3 blank identifiers (dogsled)
|
convert/json.go#L255
255-275 lines are duplicate of `convert/logfmt.go:261-281` (dupl)
|
convert/logfmt.go#L261
261-281 lines are duplicate of `convert/json.go:255-275` (dupl)
|
rotating/file.go#L168
Error return value of `f.removeOld` is not checked (errcheck)
|
web/server.go#L227
ptrToRefParam: consider `errp' to be of non-pointer type (gocritic)
|
web/server.go#L146
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
|
convert/rewriter.go#L258
builtinShadowDecl: shadowing of predeclared identifier: min (gocritic)
|
ext/tlclick/pool.go#L11
hugeParam: opts is heavy (296 bytes); consider passing it by pointer (gocritic)
|
cmd/tlog/tlogcmd/main.go#L788
ptrToRefParam: consider `errp' to be of non-pointer type (gocritic)
|
cmd/tlog/tlogcmd/main.go#L792
ptrToRefParam: consider `errp' to be of non-pointer type (gocritic)
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
This job failed
Loading