Versions in this module Expand all Collapse all v0 v0.3.6 Aug 1, 2022 Changes in this version + var Default = Decoder + type Decoder struct + Comment rune + Delimiter rune + func (d Decoder) FormatFromContentString(data string) Format + func (d Decoder) OptionsKey() string + func (d Decoder) Unmarshal(data []byte, f Format) (interface{}, error) + func (d Decoder) UnmarshalFileToMap(fs afero.Fs, filename string) (map[string]interface{}, error) + func (d Decoder) UnmarshalStringTo(data string, typ interface{}) (interface{}, error) + func (d Decoder) UnmarshalTo(data []byte, f Format, v interface{}) error + func (d Decoder) UnmarshalToMap(data []byte, f Format) (map[string]interface{}, error) + type Format string + const CSV + const JSON + const ORG + const TOML + const XML + const YAML + func FormatFromString(formatStr string) Format