Documentation
¶
Index ¶
- func GetRepositoryPath() string
- func JSONMarshalStrict(obj any) []byte
- func JSONUnmarshal(src []byte, dst any)
- func JSONUnmarshalFromFile(filepath string, dst any)
- func ReadFile(filepath string) []byte
- func YAMLMarshalStrict(obj any) []byte
- func YAMLUnmarshal(src []byte, dst any)
- func YAMLUnmarshalFromFile(filepath string, dst any)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRepositoryPath ¶
func GetRepositoryPath() string
func JSONMarshalStrict ¶
simple wrapper to json.Marshal for testing, to ensure the test gets aborted in case of error
func JSONUnmarshal ¶
simple wrapper to json.Unmarshal for testing, to ensure the test gets aborted in case of error
func JSONUnmarshalFromFile ¶ added in v0.51.0
func ReadFile ¶
simple wrapper to os.ReadFile for testing, to ensure the test gets aborted in case of error
func YAMLMarshalStrict ¶
simple wrapper to yaml.Unmarshal for testing, to ensure the test gets aborted in case of error
func YAMLUnmarshal ¶ added in v0.51.0
func YAMLUnmarshalFromFile ¶ added in v0.51.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.