Documentation ¶
Overview ¶
I got tired of writing the same readConfigFile(), writeConfigFile() boilerplate over and over again..
Index ¶
- func Marshal(destination io.Writer, data interface{}) error
- func ReadAllowUnknownFields(path string, data interface{}) error
- func ReadDisallowUnknownFields(path string, data interface{}) error
- func UnmarshalAllowUnknownFields(source io.Reader, data interface{}) error
- func UnmarshalDisallowUnknownFields(source io.Reader, data interface{}) error
- func Write(path string, data interface{}, options ...osutil.WriteFileOption) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadAllowUnknownFields ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.