Resurrect library development #1
Annotations
10 errors
Run static analysis:
config/config.go#L43
Error return value of `confJSONParser.Decode` is not checked (errcheck)
|
Run static analysis:
hours_test.go#L29
Error return value of `json.Unmarshal` is not checked (errcheck)
|
Run static analysis:
hours_test.go#L63
Error return value of `json.Unmarshal` is not checked (errcheck)
|
Run static analysis:
hours_test.go#L102
Error return value of `json.Unmarshal` is not checked (errcheck)
|
Run static analysis:
structs/structs.go#L92
type `selectedEntries` is unused (unused)
|
Run static analysis:
structs/structs.go#L96
type `userAccount` is unused (unused)
|
Run static analysis:
hours_test.go#L14
var `entries` is unused (unused)
|
Run static analysis:
hours.go#L120
S1002: should omit comparison to bool constant, can be simplified to `f(v)` (gosimple)
|
Run static analysis:
helpers.go#L35
ineffectual assignment to err (ineffassign)
|
Run static analysis:
helpers.go#L4
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
|
Loading