Versions in this module Expand all Collapse all v2 v2.1.2 Apr 12, 2023 Changes in this version + func ReplaceEnvVars(raw []byte) ([]byte, error) + type Option func(o *Options) + func WithEncoder(e encoder.Encoder) Option + type Options struct + Encoding map[string]encoder.Encoder + func NewOptions(opts ...Option) Options + type Reader interface + Merge func(...*source.ChangeSet) (*source.ChangeSet, error) + String func() string + Values func(*source.ChangeSet) (Values, error) + type Value interface + Bool func(def bool) bool + Bytes func() []byte + Duration func(def time.Duration) time.Duration + Float64 func(def float64) float64 + Int func(def int) int + Scan func(val interface{}) error + String func(def string) string + StringMap func(def map[string]string) map[string]string + StringSlice func(def []string) []string + type Values interface + Bytes func() []byte + Del func(path ...string) + Get func(path ...string) Value + Map func() map[string]interface{} + Scan func(v interface{}) error + Set func(val interface{}, path ...string)