Versions in this module Expand all Collapse all v0 v0.4.1 Apr 5, 2019 v0.4.0 Apr 5, 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