Documentation ¶
Index ¶
- func Decode(input any, output any) error
- func EncodeIndexValue(value any) []byte
- func JSONString(input any) string
- func JSONToYAML(jsonContent []byte) ([]byte, error)
- func PrettyJSONString(input any) string
- func RemoveElement[T any](index int, results []T) []T
- func ValidateStruct(val any) error
- func YAMLToJSON(yamlContent []byte) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodeIndexValue ¶
func JSONToYAML ¶
func PrettyJSONString ¶ added in v0.1.0
PrettyJSONString returns a pretty json string of the input
func RemoveElement ¶
func ValidateStruct ¶
func YAMLToJSON ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.