Versions in this module Expand all Collapse all v0 v0.0.2 Jun 5, 2022 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