Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultFileName = ".go-format.yml"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
MaxLen int `yaml:"max_len"`
SkipGoLines bool `yaml:"skip_golines"`
SkipReadability bool `yaml:"skip_readability"`
Advice bool `yaml:"advice"`
AdviceFail bool `yaml:"advice_fail"`
Mutate bool `yaml:"mutate"`
IncludeHidden bool `yaml:"include_hidden"`
GoToolchain string `yaml:"go_toolchain"`
Exclude []string `yaml:"exclude"`
}
Click to show internal directories.
Click to hide internal directories.