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