package
Version:
v0.17.0
Opens a new window with list of versions in this module.
Published: Nov 19, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func LoadJSON(sourcePath string, target interface{}) error
LoadJSON loads JSON from a file or URL into the provided target struct.
func LoadYAML(sourcePath string, target interface{}) error
LoadYAML loads YAML from a file or URL into the provided target struct.
func MarshalYAML(v interface{}) ([]byte, error)
MarshalYAML marshals an object to YAML bytes.
func UnmarshalYAML(data []byte, target interface{}) error
UnmarshalYAML unmarshals YAML bytes into the provided target.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.