Better Accounting #4570
Annotations
10 errors and 10 warnings
Lint:
src/apps/chifra/pkg/output/json_writer_test.go#L44
Error return value of `w.OpenField` is not checked (errcheck)
|
Lint:
src/apps/chifra/pkg/output/json_writer_test.go#L45
Error return value of `w.CloseField` is not checked (errcheck)
|
Lint:
src/apps/chifra/pkg/output/json_writer_test.go#L65
Error return value of `w.OpenField` is not checked (errcheck)
|
Lint:
src/apps/chifra/pkg/output/json_writer_test.go#L66
Error return value of `w.OpenField` is not checked (errcheck)
|
Lint:
src/apps/chifra/pkg/output/json_writer_test.go#L67
Error return value of `w.CloseField` is not checked (errcheck)
|
Lint:
src/apps/chifra/pkg/output/json_writer_test.go#L68
Error return value of `w.CloseField` is not checked (errcheck)
|
Lint:
src/apps/chifra/pkg/output/json_writer_test.go#L92
Error return value of `w.Write` is not checked (errcheck)
|
Lint:
src/apps/chifra/pkg/output/json_writer_test.go#L148
Error return value of `w.Write` is not checked (errcheck)
|
Lint:
src/apps/chifra/pkg/output/json_writer_test.go#L179
Error return value of `w.Write` is not checked (errcheck)
|
Lint:
src/apps/chifra/pkg/output/json_writer_test.go#L344
Error return value of `w.WriteCompoundItem` is not checked (errcheck)
|
Lint:
src/apps/chifra/pkg/colors/colors.go#L38
exported: func name will be used as colors.ColorsOff by other packages, and that stutters; consider calling this Off (revive)
|
Lint:
src/apps/chifra/pkg/colors/colors.go#L59
exported: func name will be used as colors.ColorsOn by other packages, and that stutters; consider calling this On (revive)
|
Lint:
src/apps/chifra/pkg/sigintTrap/doc.go#L2
var-naming: don't use MixedCaps in package name; sigintTrap should be siginttrap (revive)
|
Lint:
src/apps/chifra/pkg/sigintTrap/trap.go#L5
var-naming: don't use MixedCaps in package name; sigintTrap should be siginttrap (revive)
|
Lint:
src/apps/chifra/pkg/logger/logger.go#L80
var-declaration: should drop = nil from declaration of var loggerWriter; it is the zero value (revive)
|
Lint:
src/apps/chifra/pkg/debug/curl.go#L71
exported: func name will be used as debug.DebugCurlStr by other packages, and that stutters; consider calling this CurlStr (revive)
|
Lint:
src/apps/chifra/pkg/debug/curl.go#L75
exported: func name will be used as debug.DebugCurl by other packages, and that stutters; consider calling this Curl (revive)
|
Lint:
src/apps/chifra/pkg/debug/curl.go#L51
var-naming: method Url should be URL (revive)
|
Lint:
src/apps/chifra/pkg/debug/curl.go#L31
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
Lint:
src/apps/chifra/pkg/cache/locations/memory.go#L50
unexported-return: exported func Memory returns unexported type *locations.memory, which can be annoying to use (revive)
|