Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Groups map[string]*ConfigGroup
EndRaw *RawLineStyle
}
func ParseConfig ¶
func (*Config) CreateGroup ¶
func (c *Config) CreateGroup(name string) *ConfigGroup
type ConfigEntry ¶
type ConfigEntry struct {
Value string
Raws []*RawLineStyle
}
func OrderedValue ¶
func OrderedValue(value string, order int) *ConfigEntry
type ConfigGroup ¶
type ConfigGroup struct {
Entries map[string]*ConfigEntry
Raws []*RawLineStyle
}
func (*ConfigGroup) CreateEntry ¶
func (g *ConfigGroup) CreateEntry(key string, value string) *ConfigEntry
type RawLineStyle ¶
type RawLineStyle struct {
Order int
Line string
LeadingComments []string
TrailingComments []string
}
func WithOrder ¶
func WithOrder(order int) []*RawLineStyle
Click to show internal directories.
Click to hide internal directories.