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 ¶
type Decoder struct {
// contains filtered or unexported fields
}
func NewDecoder ¶
func NewStringDecoder ¶
func (*Decoder) KnownFields ¶
Click to show internal directories.
Click to hide internal directories.