Versions in this module Expand all Collapse all v1 v1.0.0 Feb 21, 2024 Changes in this version + var ErrNotFound error = errors.New("key not found") + func Register(value interface{}) + type Config struct + func Create(path string) (*Config, error) + func New(path string) (*Config, error) + func Open(path string) (*Config, error) + func (cfg *Config) Append(m map[string]interface{}) + func (cfg *Config) Close() error + func (cfg *Config) Data() map[string]interface{} + func (cfg *Config) Delete(key string) + func (cfg *Config) Exists(key string) bool + func (cfg *Config) Flush() error + func (cfg *Config) Get(key string) (interface{}, error) + func (cfg *Config) GetWithFallback(key string, fallback interface{}) interface{} + func (cfg *Config) Map(fn MapFunc) + func (cfg *Config) MustGet(key string) interface{} + func (cfg *Config) Set(key string, value interface{}) + func (cfg *Config) SetData(m map[string]interface{}) + func (cfg *Config) Toggle(key string) + func (cfg *Config) Wipe() + type MapFunc func(string, interface{}) interface