Documentation
¶
Index ¶
- type Config
- func (c *Config) GetProfile(profile string) ([]Entry, bool)
- func (c *Config) Load(filename string) (err error)
- func (c *Config) RemoveProfile(profile string) bool
- func (c *Config) RemoveValue(profile string, value string) bool
- func (c *Config) Save(filename string) (err error)
- func (c *Config) SetValue(profile string, entry Entry) bool
- type Entry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
Config is the config file
func (*Config) GetProfile ¶
GetProfile gets a profile entries
func (*Config) RemoveProfile ¶
RemoveProfile removes a profile
func (*Config) RemoveValue ¶
RemoveValue removes an entry from profile
Click to show internal directories.
Click to hide internal directories.