fix: use constant to fix linter #25
Annotations
1 error and 7 warnings
Run golangci/golangci-lint-action@v3
issues found
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@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/
|
Run golangci/golangci-lint-action@v3:
cache/cachemock/cache.go#L1
package-comments: should have a package comment (revive)
|
Run golangci/golangci-lint-action@v3:
envloader/envloader.go#L1
package-comments: should have a package comment (revive)
|
Run golangci/golangci-lint-action@v3:
cache/cache.go#L1
package-comments: should have a package comment (revive)
|
Run golangci/golangci-lint-action@v3:
server/echologger.go#L30
unused-parameter: parameter 'p' seems to be unused, consider removing or renaming it as _ (revive)
|
Run golangci/golangci-lint-action@v3:
server/echologger.go#L41
unused-parameter: parameter 'v' seems to be unused, consider removing or renaming it as _ (revive)
|
Run golangci/golangci-lint-action@v3:
server/echologger.go#L46
unused-parameter: parameter 'h' seems to be unused, consider removing or renaming it as _ (revive)
|
Loading