Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type JSONDecoder ¶ added in v1.18.0
func NewJSONDecoder ¶ added in v1.18.0
func NewJSONDecoder(r io.Reader) *JSONDecoder
type TOMLDecoder ¶ added in v1.18.0
type TOMLDecoder struct {
*toml.Decoder
}
func NewTOMLDecoder ¶ added in v1.18.0
func NewTOMLDecoder(r io.Reader) *TOMLDecoder
func (*TOMLDecoder) Decode ¶ added in v1.18.0
func (d *TOMLDecoder) Decode(value interface{}) error
func (*TOMLDecoder) DisallowUnknownFields ¶ added in v1.18.0
func (d *TOMLDecoder) DisallowUnknownFields()
DisallowUnknownFields will disallow unknown fields in the TOML file. Override this method to ensure Decoder interface is met
Click to show internal directories.
Click to hide internal directories.