Documentation
¶
Index ¶
- func LoadBytes(b []byte, c interface{}) error
- func LoadFile(filename string, c interface{}) error
- func LoadReader(f io.Reader, c interface{}) error
- func LoadString(s string, c interface{}) error
- func WriteFile(filename string, c interface{}, filemode os.FileMode) (int64, error)
- func WriteTo(f io.Writer, c interface{}) (int64, error)
- type Decoder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadReader ¶
Types ¶
type Decoder ¶ added in v0.9.0
type Decoder struct {
// contains filtered or unexported fields
}
func NewDecoder ¶ added in v0.9.0
func NewStringDecoder ¶ added in v0.10.0
func (*Decoder) KnownFields ¶ added in v0.9.0
Click to show internal directories.
Click to hide internal directories.