Versions in this module Expand all Collapse all v1 v1.8.5 Sep 10, 2019 Changes in this version + func PrimitiveDecode(primValue Primitive, v interface{}) error + func Unmarshal(p []byte, v interface{}) error + type Encoder struct + Indent string + func NewEncoder(w io.Writer) *Encoder + func (enc *Encoder) Encode(v interface{}) error + type Key []string + func (k Key) String() string + type MetaData struct + func Decode(data string, v interface{}) (MetaData, error) + func DecodeFile(fpath string, v interface{}) (MetaData, error) + func DecodeReader(r io.Reader, v interface{}) (MetaData, error) + func (md *MetaData) IsDefined(key ...string) bool + func (md *MetaData) Keys() []Key + func (md *MetaData) PrimitiveDecode(primValue Primitive, v interface{}) error + func (md *MetaData) Type(key ...string) string + func (md *MetaData) Undecoded() []Key + type Primitive struct + type TextMarshaler encoding.TextMarshaler + type TextUnmarshaler encoding.TextUnmarshaler + type Unmarshaler interface + UnmarshalTOML func(interface{}) error