Versions in this module Expand all Collapse all v1 v1.0.1 May 10, 2021 v1.0.0 May 9, 2021 Changes in this version + var DefaultConfig = NewConfig() + func Bytes() []byte + func Get(path ...string) reader.Value + func Load(source ...source.Source) error + func LoadFile(path string) error + func Map() map[string]interface + func Scan(v interface{}) error + func Sync() error + type Config interface + Close func() error + Init func(opts ...Option) error + Load func(source ...source.Source) error + Sync func() error + Watch func(path ...string) (Watcher, error) + func NewConfig(opts ...Option) (Config, error) + type Option func(o *Options) + func WithLoader(l loader.Loader) Option + func WithReader(r reader.Reader) Option + func WithSource(s source.Source) Option + type Options struct + Context context.Context + Loader loader.Loader + Reader reader.Reader + Source []source.Source + type Watcher interface + Next func() (reader.Value, error) + Stop func() error + func Watch(path ...string) (Watcher, error) Incompatible versions in this module v2.3.0+incompatible May 9, 2021