Skip to content

feat: generics

feat: generics #804

Triggered via pull request January 27, 2024 08:57
@qqxhbqqxhb
synchronize #833
feat_generics
Status Success
Total duration 1m 36s
Artifacts

reviewdog.yml

on: pull_request
runner / golangci-lint
1m 24s
runner / golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 1 warning
[golangci] internal/template/method.go#L30: internal/template/method.go#L30
exported: comment on exported const GetInstanceMethod should be of the form "GetInstanceMethod ..." (revive)
[golangci] generics.go#L199: generics.go#L199
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
[golangci] generics.go#L208: generics.go#L208
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
[golangci] generics.go#L217: generics.go#L217
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
[golangci] generics.go#L13: generics.go#L13
exported: exported type IGenericsDo should have comment or be unexported (revive)
[golangci] generics.go#L74: generics.go#L74
exported: exported type GenericsDo should have comment or be unexported (revive)
[golangci] generics.go#L79: generics.go#L79
exported: exported method GenericsDo.Debug should have comment or be unexported (revive)
[golangci] generics.go#L83: generics.go#L83
exported: exported method GenericsDo.WithContext should have comment or be unexported (revive)
[golangci] generics.go#L87: generics.go#L87
exported: exported method GenericsDo.ReadDB should have comment or be unexported (revive)
[golangci] generics.go#L91: generics.go#L91
exported: exported method GenericsDo.WriteDB should have comment or be unexported (revive)
[golangci] generics.go#L95: generics.go#L95
exported: exported method GenericsDo.Session should have comment or be unexported (revive)
[golangci] generics.go#L99: generics.go#L99
exported: exported method GenericsDo.Clauses should have comment or be unexported (revive)
[golangci] generics.go#L103: generics.go#L103
exported: exported method GenericsDo.Returning should have comment or be unexported (revive)
[golangci] generics.go#L107: generics.go#L107
exported: exported method GenericsDo.Not should have comment or be unexported (revive)
[golangci] generics.go#L111: generics.go#L111
exported: exported method GenericsDo.Or should have comment or be unexported (revive)
runner / golangci-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, reviewdog/action-golangci-lint@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.