Add inspect package #2109
Annotations
10 errors
internal/inspect/inspect.go#L108
Error return value of `(*encoding/json.Encoder).Encode` is not checked (errcheck)
|
internal/inspect/inspect_test.go#L122
Error return value of `io.Copy` is not checked (errcheck)
|
internal/node/advancer/advancer.go#L137
func `keysFrom` is unused (unused)
|
internal/inspect/inspect_test.go#L246
func `randomBytes` is unused (unused)
|
internal/inspect/inspect_test.go#L256
func `randomSliceOfBytes` is unused (unused)
|
internal/inspect/inspect_test.go#L265
func `marshal` is unused (unused)
|
internal/inspect/inspect_test.go#L197
S1011: should replace loop with `apps = append(apps, apps...)` (gosimple)
|
internal/node/advancer/advancer_test.go#L230
S1011: should replace loop with `apps = append(apps, apps...)` (gosimple)
|
internal/repository/machine.go#L79
S1039: unnecessary use of fmt.Sprintf (gosimple)
|
internal/inspect/inspect_test.go#L213
S1021: should merge variable declaration with assignment on next line (gosimple)
|
This job failed
Loading