Minor code updates from missed open comments from #36 to the migratedown feature #84
Annotations
10 errors and 1 warning
golangci-lint:
testing/docker.go#L290
SA1019: rand.Seed has been deprecated since Go 1.20 and an alternative has been available since Go 1.0: As of Go 1.20 there is no reason to call Seed with a random value. Programs that call Seed with a known value to get a specific sequence of results should use New(NewSource(seed)) to obtain a local random generator. (staticcheck)
|
golangci-lint:
cmd/migrate/main.go#L19
Error return value of `viper.BindPFlags` is not checked (errcheck)
|
golangci-lint:
cmd/migrate/config.go#L7
const `defaultDatabaseDSN` is unused (unused)
|
golangci-lint:
cmd/migrate/config.go#L8
const `defaultDatabaseDriver` is unused (unused)
|
golangci-lint:
cmd/migrate/config.go#L9
const `defaultDatabaseAddress` is unused (unused)
|
golangci-lint:
cmd/migrate/config.go#L10
const `defaultDatabaseName` is unused (unused)
|
golangci-lint:
cmd/migrate/config.go#L11
const `defaultDatabaseUser` is unused (unused)
|
golangci-lint:
cmd/migrate/config.go#L12
const `defaultDatabasePassword` is unused (unused)
|
golangci-lint:
cmd/migrate/config.go#L13
const `defaultDatabaseSSL` is unused (unused)
|
golangci-lint:
cmd/migrate/config.go#L14
const `defaultConfigDirectory` is unused (unused)
|
Run actions/setup-go@v5
Restore cache failed: Dependencies file is not found in /home/runner/work/migrate/migrate. Supported file pattern: go.sum
|
Loading