Documentation ¶
Index ¶
- func DefaultFile() string
- func Delete(key string) error
- func DeleteFromFile(filename, key string) error
- func Get(key string) (string, error)
- func GetFromFile(filename, key string) (string, error)
- func Load() (map[string]string, error)
- func LoadFromFile(filename string) (map[string]string, error)
- func Modify(fn func(map[string]string)) error
- func ModifyAndSaveToFile(filename string, fn func(map[string]string)) error
- func Save(m map[string]string) error
- func SaveToFile(filename string, m map[string]string) error
- func Set(key, value string) error
- func SetAndSaveToFile(filename, key, value string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultFile ¶
func DefaultFile() string
func DeleteFromFile ¶
func GetFromFile ¶
func ModifyAndSaveToFile ¶
func SetAndSaveToFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.