WIP: refactor: refactor funcs with generics #1892
Annotations
33 errors and 17 warnings
[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#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)
|
mysql (mysql:5.7, 1.19, ubuntu-latest)
Process completed with exit code 1.
|
mysql (mysql:5.7, 1.18, ubuntu-latest)
The job was canceled because "mysql_5_7_1_19_ubuntu-lat" failed.
|
mysql (mysql:5.7, 1.18, ubuntu-latest)
Process completed with exit code 1.
|
mysql (mysql:latest, 1.18, ubuntu-latest)
The job was canceled because "mysql_5_7_1_19_ubuntu-lat" failed.
|
mysql (mysql:latest, 1.18, ubuntu-latest)
Process completed with exit code 1.
|
mysql (mysql:latest, 1.19, ubuntu-latest)
The job was canceled because "mysql_5_7_1_19_ubuntu-lat" failed.
|
mysql (mysql:latest, 1.19, ubuntu-latest)
Process completed with exit code 1.
|
mysql (mysql:latest, 1.21, ubuntu-latest)
The job was canceled because "mysql_5_7_1_19_ubuntu-lat" failed.
|
mysql (mysql:latest, 1.21, ubuntu-latest)
The operation was canceled.
|
mysql (mysql:latest, 1.20, ubuntu-latest)
The job was canceled because "mysql_5_7_1_19_ubuntu-lat" failed.
|
mysql (mysql:latest, 1.20, ubuntu-latest)
The operation was canceled.
|
mysql (mysql:5.7, 1.20, ubuntu-latest)
The job was canceled because "mysql_5_7_1_19_ubuntu-lat" failed.
|
mysql (mysql:5.7, 1.20, ubuntu-latest)
The operation was canceled.
|
mysql (mysql:5.7, 1.21, ubuntu-latest)
The job was canceled because "mysql_5_7_1_19_ubuntu-lat" failed.
|
mysql (mysql:5.7, 1.21, ubuntu-latest)
The operation was canceled.
|
tests (1.19, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
tests (1.19, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gen/gen. Supported file pattern: go.sum
|
tests (1.18, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
tests (1.18, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gen/gen. Supported file pattern: go.sum
|
tests (1.21, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
tests (1.21, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gen/gen. Supported file pattern: go.sum
|
tests (1.20, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
tests (1.20, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gen/gen. Supported file pattern: go.sum
|
mysql (mysql:5.7, 1.19, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
mysql (mysql:5.7, 1.19, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gen/gen. Supported file pattern: go.sum
|
mysql (mysql:5.7, 1.18, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gen/gen. Supported file pattern: go.sum
|
mysql (mysql:latest, 1.18, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gen/gen. Supported file pattern: go.sum
|
mysql (mysql:latest, 1.19, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gen/gen. Supported file pattern: go.sum
|
mysql (mysql:latest, 1.21, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gen/gen. Supported file pattern: go.sum
|
mysql (mysql:latest, 1.20, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gen/gen. Supported file pattern: go.sum
|
mysql (mysql:5.7, 1.20, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gen/gen. Supported file pattern: go.sum
|
mysql (mysql:5.7, 1.21, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gen/gen. Supported file pattern: go.sum
|