Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertInterfaceMapKeys ¶
func ConvertInterfaceMapKeys(input interface{}) interface{}
ConvertInterfaceMapKeys takes an arbitrary interface{} and converts any map[interface{}]interface{} it finds into map[string]interface{}. It does this recursively, so nested maps and slices are also processed YAML is great and annoying, and JSON encoding gets very upset sometimes.
func DiveIntoValidationError ¶
func DiveIntoValidationError(e *jsonschema.ValidationError, causes *[]string, location string)
DiveIntoValidationError recursively dives into the validation error and collects all the causes, nicely printed and formatted in a string slice
func HashString ¶
func WrapBackticks ¶
WrapBackticks wraps each s in backticks and joins with ", ".
func WrapBackticksString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.