Merge pull request #121 from rishavmehra/rishavmehra/improvement #100
Annotations
4 errors and 7 warnings
echo-mysql/uss/store.go#L60
Error return value of `db.Close` is not checked (errcheck)
|
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)
|
echo-mysql/uss/store.go#L52
S1038: should use log.Fatalf(...) instead of log.Fatal(fmt.Sprintf(...)) (gosimple)
|
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, 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/
|
echo-mysql/uss/short.go#L1
package-comments: should have a package comment (revive)
|
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)
|
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)
|
echo-mysql/main.go#L1
package-comments: should have a package comment (revive)
|
echo-mysql/main.go#L55
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
echo-mysql/main.go#L70
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
The logs for this run have expired and are no longer available.
Loading