tlflag: ?console=flags #302
Annotations
10 errors and 4 warnings
lint:
rotating/file.go#L176
Error return value of `f.removeOld` is not checked (errcheck)
|
lint:
rotating/ctime_linux.go#L9
func `fileCtime` is unused (unused)
|
lint:
rotating/file.go#L113
unnecessary leading newline (whitespace)
|
lint:
rotating/file_test.go#L10
import 'nikand.dev/go/hacked/low' is not allowed from list 'main' (depguard)
|
lint:
web/server.go#L227
ptrToRefParam: consider `errp' to be of non-pointer type (gocritic)
|
lint:
web/server.go#L146
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
|
lint:
web/server.go#L48
File is not `gofumpt`-ed (gofumpt)
|
lint:
web/server.go#L17
import 'nikand.dev/go/hacked/hnet' is not allowed from list 'main' (depguard)
|
lint:
tlio/writers.go#L66
Comment should end in a period (godot)
|
lint:
tlio/writers_test.go#L9
import 'nikand.dev/go/hacked/low' is not allowed from list 'main' (depguard)
|
lint
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/
|
lint
The following actions use a deprecated Node.js version 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/
|
lint
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/
|
lint
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/
|