Skip to content

WIP: refactor: refactor funcs with generics #933

WIP: refactor: refactor funcs with generics

WIP: refactor: refactor funcs with generics #933

Triggered via pull request January 15, 2025 12:28
Status Success
Total duration 37s
Artifacts

reviewdog.yml

on: pull_request
runner / golangci-lint
26s
runner / golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 1 warning
[golangci] internal/template/struct.go#L34: internal/template/struct.go#L34
exported: exported const TableGenericQueryIface should have comment (or a comment on this block) or be unexported (revive)
[golangci] generics.go#L85: generics.go#L85
exported: exported method GenericsDo.Debug should have comment or be unexported (revive)
[golangci] generics.go#L89: generics.go#L89
exported: exported method GenericsDo.WithContext should have comment or be unexported (revive)
[golangci] generics.go#L93: generics.go#L93
exported: exported method GenericsDo.ReadDB should have comment or be unexported (revive)
[golangci] generics.go#L97: generics.go#L97
exported: exported method GenericsDo.WriteDB should have comment or be unexported (revive)
[golangci] generics.go#L101: generics.go#L101
exported: exported method GenericsDo.Session should have comment or be unexported (revive)
[golangci] generics.go#L105: generics.go#L105
exported: exported method GenericsDo.Clauses should have comment or be unexported (revive)
[golangci] generics.go#L109: generics.go#L109
exported: exported method GenericsDo.Returning should have comment or be unexported (revive)
[golangci] generics.go#L113: generics.go#L113
exported: exported method GenericsDo.Not should have comment or be unexported (revive)
[golangci] generics.go#L117: generics.go#L117
exported: exported method GenericsDo.Or should have comment or be unexported (revive)
[golangci] generics.go#L121: generics.go#L121
exported: exported method GenericsDo.Select should have comment or be unexported (revive)
[golangci] generics.go#L125: generics.go#L125
exported: exported method GenericsDo.Where should have comment or be unexported (revive)
[golangci] generics.go#L129: generics.go#L129
exported: exported method GenericsDo.Order should have comment or be unexported (revive)
[golangci] generics.go#L133: generics.go#L133
exported: exported method GenericsDo.Distinct should have comment or be unexported (revive)
[golangci] generics.go#L137: generics.go#L137
exported: exported method GenericsDo.Omit should have comment or be unexported (revive)
[golangci] generics.go#L141: generics.go#L141
exported: exported method GenericsDo.Join should have comment or be unexported (revive)
[golangci] generics.go#L145: generics.go#L145
exported: exported method GenericsDo.LeftJoin should have comment or be unexported (revive)
[golangci] generics.go#L149: generics.go#L149
exported: exported method GenericsDo.RightJoin should have comment or be unexported (revive)
[golangci] generics.go#L153: generics.go#L153
exported: exported method GenericsDo.Group should have comment or be unexported (revive)
[golangci] generics.go#L157: generics.go#L157
exported: exported method GenericsDo.Having should have comment or be unexported (revive)
runner / golangci-lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636