Versions in this module Expand all Collapse all v0 v0.1.1 Aug 17, 2026 Changes in this version + type Duration time.Duration + func ParseDuration(s string) (Duration, error) + func (that *Duration) UnmarshalJSON(data []byte) error + func (that *Duration) UnmarshalTOML(v any) error + func (that *Duration) UnmarshalYAML(node *yaml.Node) error v0.1.0 Jul 24, 2026 Changes in this version + func DecodeMapToStruct(src map[string]any, dst any) error + func Detect(filePath string) (string, error) + func Read(filePath string, opts ...Option) (map[string]any, error) + func ReadRaw(filePath string) ([]byte, error) + func ReadTo(filePath string, target any, opts ...Option) error + func Register(ext string, fn UnmarshalFunc) + func RegisterMarshal(ext string, fn MarshalFunc) + func Save(filePath string, v any) error + type MarshalFunc func(v any) ([]byte, error) + type Option func(*options) + func WithProcessor(p Processor) Option + type ProcessFunc func(v any) error + func (f ProcessFunc) Process(v any) error + type Processor interface + Process func(v any) error + type UnmarshalFunc func(data []byte, v any) error