chore: Add golangci-lint and fix most issues #505
6.45% of diff hit (target 35.81%)
View this Pull Request on Codecov
6.45% of diff hit (target 35.81%)
Annotations
Check warning on line 43 in cmd/delete.go
codecov / codecov/patch
cmd/delete.go#L43
Added line #L43 was not covered by tests
Check warning on line 78 in cmd/env.go
codecov / codecov/patch
cmd/env.go#L78
Added line #L78 was not covered by tests
Check warning on line 78 in cmd/exec.go
codecov / codecov/patch
cmd/exec.go#L78
Added line #L78 was not covered by tests
Check warning on line 122 in cmd/exec.go
codecov / codecov/patch
cmd/exec.go#L122
Added line #L122 was not covered by tests
Check warning on line 45 in cmd/export.go
codecov / codecov/patch
cmd/export.go#L45
Added line #L45 was not covered by tests
Check warning on line 150 in cmd/export.go
codecov / codecov/patch
cmd/export.go#L148-L150
Added lines #L148 - L150 were not covered by tests
Check warning on line 179 in cmd/export.go
codecov / codecov/patch
cmd/export.go#L177-L179
Added lines #L177 - L179 were not covered by tests
Check warning on line 38 in cmd/history.go
codecov / codecov/patch
cmd/history.go#L38
Added line #L38 was not covered by tests
Check warning on line 57 in cmd/import.go
codecov / codecov/patch
cmd/import.go#L57
Added line #L57 was not covered by tests
Check warning on line 46 in cmd/list.go
codecov / codecov/patch
cmd/list.go#L46
Added line #L46 was not covered by tests
Check warning on line 45 in cmd/read.go
codecov / codecov/patch
cmd/read.go#L45
Added line #L45 was not covered by tests
Check warning on line 108 in cmd/root.go
codecov / codecov/patch
cmd/root.go#L108
Added line #L108 was not covered by tests
Check warning on line 210 in cmd/root.go
codecov / codecov/patch
cmd/root.go#L209-L210
Added lines #L209 - L210 were not covered by tests
Check warning on line 229 in cmd/root.go
codecov / codecov/patch
cmd/root.go#L229
Added line #L229 was not covered by tests
Check warning on line 25 in cmd/version.go
codecov / codecov/patch
cmd/version.go#L25
Added line #L25 was not covered by tests
Check warning on line 47 in cmd/write.go
codecov / codecov/patch
cmd/write.go#L47
Added line #L47 was not covered by tests
Check warning on line 70 in cmd/write.go
codecov / codecov/patch
cmd/write.go#L70
Added line #L70 was not covered by tests
Check warning on line 261 in store/s3store.go
codecov / codecov/patch
store/s3store.go#L261
Added line #L261 was not covered by tests
Check warning on line 318 in store/s3store.go
codecov / codecov/patch
store/s3store.go#L318
Added line #L318 was not covered by tests
Check warning on line 367 in store/s3store.go
codecov / codecov/patch
store/s3store.go#L367
Added line #L367 was not covered by tests
Check warning on line 218 in store/s3storeKMS.go
codecov / codecov/patch
store/s3storeKMS.go#L218
Added line #L218 was not covered by tests
Check warning on line 265 in store/s3storeKMS.go
codecov / codecov/patch
store/s3storeKMS.go#L265
Added line #L265 was not covered by tests
Check warning on line 301 in store/s3storeKMS.go
codecov / codecov/patch
store/s3storeKMS.go#L301
Added line #L301 was not covered by tests
Check warning on line 249 in store/ssmstore.go
codecov / codecov/patch
store/ssmstore.go#L249
Added line #L249 was not covered by tests