Better Accounting #4571
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/file/exists.go#L11
exported: func name will be used as file.FileExists by other packages, and that stutters; consider calling this Exists (revive)
|
Lint:
src/apps/chifra/pkg/file/size.go#L11
exported: func name will be used as file.FileSize by other packages, and that stutters; consider calling this Size (revive)
|
Lint:
src/apps/chifra/pkg/file/backup.go#L19
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
Lint:
src/apps/chifra/pkg/file/folder.go#L29
unused-parameter: parameter 'chain' seems to be unused, consider removing or renaming it as _ (revive)
|
Lint:
src/apps/chifra/pkg/file/modtime.go#L46
unused-parameter: parameter 'path' seems to be unused, consider removing or renaming it as _ (revive)
|