Documentation
¶
Index ¶
- func MustParseJSON(file []byte, targetStruct any)
- func MustParseJSONFile(filepath string, targetStruct any)
- func MustParseJSONFromReader(file io.Reader, targetStruct any)
- func MustParseYAML(file []byte, targetStruct any)
- func MustParseYAMLFile(filepath string, targetStruct any)
- func MustParseYAMLFromReader(file io.Reader, targetStruct any)
- func ParseJSON(file []byte, targetStruct any) error
- func ParseJSONFile(path string, targetStruct any) error
- func ParseJSONFromReader(file io.Reader, targetStruct any) error
- func ParseYAML(file []byte, targetStruct any) error
- func ParseYAMLFile(path string, targetStruct any) error
- func ParseYAMLFromReader(file io.Reader, targetStruct any) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustParseJSON ¶
func MustParseJSONFile ¶
func MustParseJSONFromReader ¶
func MustParseYAML ¶
func MustParseYAMLFile ¶
func MustParseYAMLFromReader ¶
func ParseJSONFile ¶
func ParseYAMLFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.