I get this error message:
main.go:24: File is not `gci`-ed with --skip-generated -s standard,default (gci)
import (
What does this mean?
Background: I am new to Go, and the linting was not set up by me. I confess that I don't know the actual linter which creates this warning.
gci is
When linting the code with golangci-lint, the changes required by the gci linter are not directly applied. One then has to manually apply them. For this get
gci
withscan it and directly write required changes with
--skip-generated
skips generated files-s standard,default
defines how import inputs are processed.standard
are all official Golang provided imports,default
are all other ones.