fix: workflow (#97) #17
Annotations
72 errors and 8 warnings
lint (sse-svelte):
sse-svelte/main.go#L91
Error return value of `client.Disconnect` is not checked (errcheck)
|
lint (sse-svelte):
sse-svelte/main.go#L18
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
|
lint (sse-svelte):
sse-svelte/main.go#L1
package-comments: should have a package comment (revive)
|
lint (sse-svelte)
issues found
|
lint (S3-Keploy):
S3-Keploy/bucket/bucket.go#L70
Error return value of `file.Close` is not checked (errcheck)
|
lint (S3-Keploy):
S3-Keploy/bucket/bucket.go#L14
exported: type name will be used as bucket.BucketBasics by other packages, and that stutters; consider calling this Basics (revive)
|
lint (S3-Keploy):
S3-Keploy/bucket/bucket.go#L64
receiver-naming: receiver name basic should be consistent with previous receiver name basics for BucketBasics (revive)
|
lint (S3-Keploy):
S3-Keploy/bucket/bucket.go#L85
receiver-naming: receiver name basic should be consistent with previous receiver name basics for BucketBasics (revive)
|
lint (S3-Keploy):
S3-Keploy/bucket/bucket.go#L111
receiver-naming: receiver name basic should be consistent with previous receiver name basics for BucketBasics (revive)
|
lint (S3-Keploy):
S3-Keploy/bucket/bucket.go#L26
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
lint (S3-Keploy):
S3-Keploy/bucket/bucket.go#L69
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
lint (S3-Keploy):
S3-Keploy/bucket/bucket.go#L106
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
lint (S3-Keploy):
S3-Keploy/bucket/bucket.go#L1
package-comments: should have a package comment (revive)
|
lint (S3-Keploy):
S3-Keploy/config/config.go#L1
package-comments: should have a package comment (revive)
|
lint (mux-sql):
mux-sql/app.go#L88
Error return value of `w.Write` is not checked (errcheck)
|
lint (mux-sql):
mux-sql/app.go#L118
Error return value of `r.Body.Close` is not checked (errcheck)
|
lint (mux-sql):
mux-sql/app.go#L142
Error return value of `r.Body.Close` is not checked (errcheck)
|
lint (mux-sql):
mux-sql/model.go#L81
Error return value of `rows.Close` is not checked (errcheck)
|
lint (mux-sql):
mux-sql/app.go#L1
File is not `gofmt`-ed with `-s` (gofmt)
|
lint (mux-sql):
mux-sql/main.go#L1
File is not `gofmt`-ed with `-s` (gofmt)
|
lint (mux-sql):
mux-sql/model.go#L1
File is not `gofmt`-ed with `-s` (gofmt)
|
lint (mux-sql):
mux-sql/app.go#L52
unused-parameter: parameter 'addr' seems to be unused, consider removing or renaming it as _ (revive)
|
lint (mux-sql):
mux-sql/app.go#L53
unreachable-code: unreachable code after this statement (revive)
|
lint (mux-sql):
mux-sql/app.go#L29
exported: comment on exported method App.Initialize should be of the form "Initialize ..." (revive)
|
lint (users-profile):
users-profile/configs/mongodb_setup.go#L42
exported: comment on exported var DB should be of the form "DB ..." (revive)
|
lint (users-profile):
users-profile/configs/mongodb_setup.go#L1
package-comments: package comment should be of the form "Package configs ..." (revive)
|
lint (users-profile):
users-profile/configs/load_env.go#L1
package-comments: package comment should be of the form "Package configs ..." (revive)
|
lint (users-profile):
users-profile/models/user_model.go#L9
var-naming: struct field Id should be ID (revive)
|
lint (users-profile):
users-profile/models/user_model.go#L6
exported: comment on exported type User should be of the form "User ..." (with optional leading article) (revive)
|
lint (users-profile):
users-profile/models/user_model.go#L1
package-comments: package comment should be of the form "Package models ..." (revive)
|
lint (users-profile):
users-profile/responses/user_responses.go#L4
exported: comment on exported type UserResponse should be of the form "UserResponse ..." (with optional leading article) (revive)
|
lint (users-profile):
users-profile/responses/user_responses.go#L1
package-comments: package comment should be of the form "Package responses ..." (revive)
|
lint (users-profile):
users-profile/controllers/user_controller.go#L180
Error return value of `results.Close` is not checked (errcheck)
|
lint (users-profile):
users-profile/controllers/user_controller.go#L22
exported: comment on exported function CreateAUser should be of the form "CreateAUser ..." (revive)
|
lint (gin-redis):
gin-redis/config/config.go#L12
var-naming: struct field SqlPrefix should be SQLPrefix (revive)
|
lint (gin-redis):
gin-redis/config/config.go#L1
package-comments: should have a package comment (revive)
|
lint (gin-redis):
gin-redis/controllers/POST/postVerificationCode.go#L1
package-comments: should have a package comment (revive)
|
lint (gin-redis):
gin-redis/routes/routes.go#L1
package-comments: should have a package comment (revive)
|
lint (gin-redis):
gin-redis/structure/request/verifyOTP.go#L1
var-naming: don't use MixedCaps in package name; requestStruct should be requeststruct (revive)
|
lint (gin-redis):
gin-redis/constants/contants.go#L24
var-naming: const ApiFailStatus should be APIFailStatus (revive)
|
lint (gin-redis):
gin-redis/helpers/redis/redisConnect.go#L19
File is not `gofmt`-ed with `-s` (gofmt)
|
lint (gin-redis):
gin-redis/helpers/redis/redisConnect.go#L11
exported: func name will be used as redis.RedisSession by other packages, and that stutters; consider calling this Session (revive)
|
lint (gin-redis):
gin-redis/helpers/redis/redisConnect.go#L15
exported: func name will be used as redis.RedisInit by other packages, and that stutters; consider calling this Init (revive)
|
lint (gin-redis):
gin-redis/helpers/email/sendEmail.go#L12
unused-parameter: parameter 'subject' seems to be unused, consider removing or renaming it as _ (revive)
|
lint (gin-mongo):
gin-mongo/main.go#L23
Error return value of `logger.Sync` is not checked (errcheck)
|
lint (gin-mongo):
gin-mongo/main.go#L31
File is not `gofmt`-ed with `-s` (gofmt)
|
lint (gin-mongo):
gin-mongo/handler.go#L1
package-comments: should have a package comment (revive)
|
lint (gin-mongo):
gin-mongo/handler.go#L26
unexported-return: exported func Get returns unexported type *main.url, which can be annoying to use (revive)
|
lint (gin-mongo):
gin-mongo/handler.go#L65
S1023: redundant `return` statement (gosimple)
|
lint (gin-mongo):
gin-mongo/main.go#L51
S1000: should use a simple channel send/receive instead of `select` with a single case (gosimple)
|
lint (gin-mongo):
gin-mongo/handler.go#L42
composites: go.mongodb.org/mongo-driver/bson/primitive.E struct literal uses unkeyed fields (govet)
|
lint (gin-mongo)
issues found
|
lint (graphql-sql):
graphql-sql/main.go#L57
Error return value of `db.Close` is not checked (errcheck)
|
lint (graphql-sql):
graphql-sql/main.go#L192
Error return value of `rows.Scan` is not checked (errcheck)
|
lint (graphql-sql):
graphql-sql/main.go#L231
Error return value of `rows.Scan` is not checked (errcheck)
|
lint (graphql-sql):
graphql-sql/main.go#L281
Error return value of `rows.Scan` is not checked (errcheck)
|
lint (graphql-sql):
graphql-sql/main.go#L459
Error return value of `http.ListenAndServe` is not checked (errcheck)
|
lint (graphql-sql):
graphql-sql/main.go#L461
File is not `gofmt`-ed with `-s` (gofmt)
|
lint (graphql-sql):
graphql-sql/main.go#L1
package-comments: should have a package comment (revive)
|
lint (graphql-sql):
graphql-sql/main.go#L47
var-naming: don't use underscores in Go names; var db_info should be dbInfo (revive)
|
lint (graphql-sql):
graphql-sql/main.go#L279
var-naming: var lastInsertId should be lastInsertID (revive)
|
lint (graphql-sql):
graphql-sql/main.go#L366
var-naming: var authorId should be authorID (revive)
|
lint (echo-sql):
echo-sql/handler.go#L103
Error return value of `res.Close` is not checked (errcheck)
|
lint (echo-sql):
echo-sql/handler.go#L146
Error return value of `res.Close` is not checked (errcheck)
|
lint (echo-sql):
echo-sql/handler.go#L158
Error return value of `c.Redirect` is not checked (errcheck)
|
lint (echo-sql):
echo-sql/handler.go#L223
Error return value of `res.Close` is not checked (errcheck)
|
lint (echo-sql):
echo-sql/main.go#L24
Error return value of `Logger.Sync` is not checked (errcheck)
|
lint (echo-sql):
echo-sql/main.go#L40
Error return value of `Database.Close` is not checked (errcheck)
|
lint (echo-sql):
echo-sql/handler.go#L41
exported: comment on exported function NewConnection should be of the form "NewConnection ..." (revive)
|
lint (echo-sql):
echo-sql/handler.go#L1
package-comments: should have a package comment (revive)
|
lint (echo-sql):
echo-sql/handler.go#L22
var-naming: don't use underscores in Go names; struct field db_name should be dbName (revive)
|
lint (echo-sql):
echo-sql/handler.go#L27
var-naming: don't use underscores in Go names; struct field Redirect_URL should be RedirectURL (revive)
|
lint (sse-svelte)
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/.
|
lint (S3-Keploy)
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/.
|
lint (mux-sql)
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/.
|
lint (users-profile)
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/.
|
lint (gin-redis)
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/.
|
lint (gin-mongo)
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/.
|
lint (graphql-sql)
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/.
|
lint (echo-sql)
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/.
|