Drop unsafe #5
Annotations
10 errors and 7 warnings
lint:
data/mimetypes.go#L6
`jsonMimetype` is unused (deadcode)
|
lint:
data/mimetypes.go#L7
`jsonArrayMimetype` is unused (deadcode)
|
lint:
data/mimetypes.go#L8
`tomlMimetype` is unused (deadcode)
|
lint:
data/mimetypes.go#L10
`envMimetype` is unused (deadcode)
|
lint:
cleanup.go#L5
`addCleanupHook` is unused (deadcode)
|
lint:
cleanup.go#L9
`runCleanupHooks` is unused (deadcode)
|
lint:
metrics.go#L24
`newMetrics` is unused (deadcode)
|
lint:
strings/duration.go#L297
cognitive complexity 56 of func `parseDuration` is high (> 30) (gocognit)
|
lint:
strings/bytes.go#L85
assignOp: replace `value = value / EXABYTE` with `value /= EXABYTE` (gocritic)
|
lint:
strings/bytes.go#L94
assignOp: replace `value = value / GIGABYTE` with `value /= GIGABYTE` (gocritic)
|
lint:
strings/duration.go#L166
redefines-builtin-id: redefinition of the built-in function print (revive)
|
lint:
strings/duration.go#L169
redefines-builtin-id: redefinition of the built-in function print (revive)
|
lint:
data/data_test.go#L169
unused-parameter: parameter 'e' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
data/data_test.go#L173
unused-parameter: parameter 'e' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
template.go#L31
empty-block: this block is empty, you can remove it (revive)
|
lint:
template.go#L79
empty-block: this block is empty, you can remove it (revive)
|
lint:
funcs/k8s.go#L10
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|