Versions in this module Expand all Collapse all v1 v1.1.7 Aug 25, 2021 v1.1.6 Apr 14, 2021 Changes in this version + func LoadConfig(file string, v interface{}, opts ...Option) error + func LoadConfigFromJsonBytes(content []byte, v interface{}) error + func LoadConfigFromYamlBytes(content []byte, v interface{}) error + func MustLoad(path string, v interface{}, opts ...Option) + type Option func(opt *options) + func UseEnv() Option + type Properties interface + GetInt func(key string) int + GetString func(key string) string + SetInt func(key string, value int) + SetString func(key, value string) + ToString func() string + func LoadProperties(filename string, opts ...Option) (Properties, error) + func NewProperties() Properties + type PropertyError struct + func (configError *PropertyError) Error() string