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
gciwithscan it and directly write required changes with
--skip-generatedskips generated files-s standard,defaultdefines how import inputs are processed.standardare all official Golang provided imports,defaultare all other ones.