CNS-9671: upgrade dependencies #39
Annotations
4 errors and 11 warnings
golangci-lint:
tglib/cert.go#L23
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
|
golangci-lint:
tglib/pkcs12.go#L17
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
|
golangci-lint:
tgnoob/helpers.go#L20
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
|
golangci-lint
issues found
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
golangci-lint:
tglib/windowscertbug/platform.go#L4
package-comments: should have a package comment (revive)
|
golangci-lint:
main.go#L76
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
main.go#L79
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
main.go#L95
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
main.go#L98
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
main.go#L111
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
main.go#L114
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
tgnoob/noob_test.go#L19
dot-imports: should not use dot imports (revive)
|
golangci-lint:
tgnoob/helpers_test.go#L20
dot-imports: should not use dot imports (revive)
|
golangci-lint:
tgnoob/helpers.go#L213
unused-parameter: parameter 'policies' seems to be unused, consider removing or renaming it as _ (revive)
|
Loading