Versions in this module Expand all Collapse all v0 v0.2.0 Mar 28, 2025 Changes in this version + func LoadStruct[T any](optFuncs ...OptionFunc) (T, error) v0.1.0 Nov 27, 2024 Changes in this version + func Load(i interface{}, optFuncs ...OptionFunc) error + type OptionFunc func(*Options) *Options + func WithMapstructureHooks(hooks ...mapstructure.DecodeHookFunc) OptionFunc + func WithProvider(p Provider) OptionFunc + type Options struct + MapstructureHooks []mapstructure.DecodeHookFunc + Providers []Provider + func DefaultOptions() *Options + type Provider interface + ReadMap func() (map[string]interface{}, error)