Versions in this module Expand all Collapse all v1 v1.5.0 Sep 20, 2024 v1.4.1 May 4, 2022 Changes in this version + var Stderrh = func(pos Pos, msg string) + func DecodeFile(v interface{}, name string, opts ...Option) error + type DecodeError struct + Field string + Label string + Param string + Pos Pos + Type reflect.Type + func (e *DecodeError) Error() string + type Decoder struct + func Envvars(d *Decoder) *Decoder + func Includes(d *Decoder) *Decoder + func NewDecoder(name string, opts ...Option) *Decoder + func (d *Decoder) Decode(v interface{}, r io.Reader) error + type LitType uint + const BoolLit + const DurationLit + const FloatLit + const IntLit + const SizeLit + const StringLit + type Option func(d *Decoder) *Decoder + func ErrorHandler(errh func(Pos, string)) Option + type Pos struct + Col int + File string + Line int + func (p Pos) Err(msg string) error + func (p Pos) String() string