Skip to content

feat: generics

feat: generics #805

Triggered via pull request January 27, 2024 09:50
@qqxhbqqxhb
synchronize #833
feat_generics
Status Success
Total duration 30s
Artifacts

reviewdog.yml

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

Annotations

13 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] field/generics.go#L16: field/generics.go#L16
exported: exported function NewGenerics should have comment or be unexported (revive)
[golangci] field/generics.go#L91: field/generics.go#L91
exported: exported function NewGenericsInt should have comment or be unexported (revive)
[golangci] field/generics.go#L180: field/generics.go#L180
exported: exported function NewGenericsString should have comment or be unexported (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)
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/.