Refactor into importable pkg #2
Annotations
9 errors and 2 warnings
Build:
cmd/timescaledb-parallel-copy/main.go#L46
var `rowCount` is unused (unused)
|
Build:
cmd/timescaledb-parallel-copy/main.go#L79
type `csvCopierLogger` is unused (unused)
|
Build:
cmd/timescaledb-parallel-copy/main.go#L81
func `csvCopierLogger.Info` is unused (unused)
|
Build:
pkg/csvcopy/csvcopy.go#L54
field `skipHeader` is unused (unused)
|
Build:
pkg/csvcopy/csvcopy.go#L55
field `headerLinesCnt` is unused (unused)
|
Build:
cmd/timescaledb-parallel-copy/main.go#L128
ineffectual assignment to res (ineffassign)
|
Build:
pkg/csvcopy/csvcopy_test.go#L40
ineffectual assignment to err (ineffassign)
|
Build:
cmd/timescaledb-parallel-copy/main.go#L117
SA9003: empty branch (staticcheck)
|
Build
issues found
|
Build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v2, actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|