Merge pull request #125 from NishantBansal2003/go-grpc #122
Annotations
4 errors and 7 warnings
golangci-lint:
echo-mysql/uss/store.go#L60
Error return value of `db.Close` is not checked (errcheck)
|
golangci-lint:
echo-mysql/uss/store.go#L52
S1038: should use log.Fatalf(...) instead of log.Fatal(fmt.Sprintf(...)) (gosimple)
|
golangci-lint:
echo-mysql/main.go#L36
S1008: should use 'return c.Request().RequestURI == "/healthcheck"' instead of 'if c.Request().RequestURI == "/healthcheck" { return true }; return false' (gosimple)
|
golangci-lint
issues found
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
golangci-lint:
echo-mysql/uss/store.go#L73
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
golangci-lint:
echo-mysql/uss/short.go#L1
package-comments: should have a package comment (revive)
|
golangci-lint:
echo-mysql/uss/store.go#L19
exported: type name will be used as uss.USSStore by other packages, and that stutters; consider calling this Store (revive)
|
golangci-lint:
echo-mysql/main.go#L1
package-comments: should have a package comment (revive)
|
golangci-lint:
echo-mysql/main.go#L55
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
golangci-lint:
echo-mysql/main.go#L70
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
Loading