Documentation ¶
Index ¶
- func GetSystemConfigurationPath() string
- func GetUserConfigurationPath() string
- func LoadConfigurationFile(foldername string, filename string) error
- func MergeYaml(b []byte) error
- func MergeYamlFile(path string) error
- func SaveYamlAsSystemConfiguration(foldername string, filename string, config interface{}) error
- func SaveYamlAsUserConfiguration(foldername string, filename string, config interface{}) error
- func Unmarshal(Item interface{}) error
- func UnmarshalYaml(b []byte) error
- func UnmarshalYamlFile(path string) error
- type Config
- func (c *Config) ConfigurationFileExists(foldername string, filename string) bool
- func (c *Config) LoadConfigurationFile(foldername string, filename string) error
- func (c *Config) MergeYaml(b []byte) error
- func (c *Config) MergeYamlFile(path string) error
- func (c *Config) SaveYamlAsSystemConfiguration(foldername string, filename string, config interface{}) error
- func (c *Config) SaveYamlAsUserConfiguration(foldername string, filename string, config interface{}) error
- func (c *Config) Unmarshal(Item interface{}) error
- func (c *Config) UnmarshalYaml(b []byte) error
- func (c *Config) UnmarshalYamlFile(path string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSystemConfigurationPath ¶
func GetSystemConfigurationPath() string
func GetUserConfigurationPath ¶
func GetUserConfigurationPath() string
func LoadConfigurationFile ¶
func MergeYamlFile ¶
func UnmarshalYaml ¶
func UnmarshalYamlFile ¶
Types ¶
type Config ¶
type Config struct {
Item map[string]interface{}
}
func (*Config) ConfigurationFileExists ¶
func (*Config) LoadConfigurationFile ¶
func (*Config) MergeYamlFile ¶
func (*Config) SaveYamlAsSystemConfiguration ¶
func (*Config) SaveYamlAsUserConfiguration ¶
func (*Config) UnmarshalYaml ¶
func (*Config) UnmarshalYamlFile ¶
Click to show internal directories.
Click to hide internal directories.