Add ability to set custom column types in the gorm tag, so things such as lengths can be added. #884
Annotations
10 errors and 1 warning
field/expr.go#L126
[golangci] reported by reviewdog 🐶
Error return value of `builder.WriteString` is not checked (errcheck)
Raw Output:
field/expr.go:126:23: Error return value of `builder.WriteString` is not checked (errcheck)
builder.WriteString(string(e.BuildColumn(stmt, WithAll)))
^
|
field/serializer.go#L22
[golangci] reported by reviewdog 🐶
Error return value of `db.AddError` is not checked (errcheck)
Raw Output:
field/serializer.go:22:13: Error return value of `db.AddError` is not checked (errcheck)
db.AddError(err)
^
|
do.go#L263
[golangci] reported by reviewdog 🐶
Error return value of `stmt.WriteByte` is not checked (errcheck)
Raw Output:
do.go:263:18: Error return value of `stmt.WriteByte` is not checked (errcheck)
stmt.WriteByte(',')
^
|
do.go#L294
[golangci] reported by reviewdog 🐶
Error return value of `stmt.WriteByte` is not checked (errcheck)
Raw Output:
do.go:294:18: Error return value of `stmt.WriteByte` is not checked (errcheck)
stmt.WriteByte(',')
^
|
internal/template/method.go#L1
[golangci] reported by reviewdog 🐶
package-comments: should have a package comment (revive)
Raw Output:
internal/template/method.go:1:1: package-comments: should have a package comment (revive)
package template
^
|
internal/utils/common.go#L1
[golangci] reported by reviewdog 🐶
package-comments: should have a package comment (revive)
Raw Output:
internal/utils/common.go:1:1: package-comments: should have a package comment (revive)
package utils
^
|
field/tag.go#L10
[golangci] reported by reviewdog 🐶
var-naming: const TagKeyJson should be TagKeyJSON (revive)
Raw Output:
field/tag.go:10:2: var-naming: const TagKeyJson should be TagKeyJSON (revive)
TagKeyJson = "json"
^
|
field/time.go#L113
[golangci] reported by reviewdog 🐶
exported: exported method Time.Year should have comment or be unexported (revive)
Raw Output:
field/time.go:113:1: exported: exported method Time.Year should have comment or be unexported (revive)
func (field Time) Year() Int {
^
|
field/serializer.go#L12
[golangci] reported by reviewdog 🐶
exported: exported type ValuerType should have comment or be unexported (revive)
Raw Output:
field/serializer.go:12:6: exported: exported type ValuerType should have comment or be unexported (revive)
type ValuerType struct {
^
|
reviewdog: Too many results (annotations) in diff.
You may miss some annotations due to GitHub limitation for annotation created by logging command.
Please check GitHub Actions log console to see all results.
Limitation:
- 10 warning annotations and 10 error annotations per step
- 50 annotations per job (sum of annotations from all the steps)
- 50 annotations per run (separate from the job annotations, these annotations aren't created by users)
Source: https://github.com/orgs/community/discussions/26680#discussioncomment-3252835
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
This job failed
Loading