Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { config.BoolConfig Sections section.SectionList SectionSeparators section.SectionList }
func ParseConfig ¶
type YamlConfig ¶
type YamlConfig struct { Cfg config.BoolConfig `yaml:",inline"` SectionStrings []string `yaml:"sections"` SectionSeparatorStrings []string `yaml:"sectionseparators"` // Since history issue, Golangci-lint needs Analyzer to run and GCI add an Analyzer layer to integrate. // The ModPath param is only from analyzer.go, no need to set it in all other places. ModPath string `yaml:"-"` }
func (YamlConfig) Parse ¶
func (g YamlConfig) Parse() (*Config, error)
Click to show internal directories.
Click to hide internal directories.