# Functions
AppendErr appends err to errors if it is not nil and returns the result.
AppendErrs appends newErrs to errors and returns the result.
DeleteFromMap deletes an entry with the given key parent, which must be a map.
DeleteFromSlicePtr deletes an entry at index from the parent, which must be a slice ptr.
EqualErrors reports whether a and b are equal, regardless of ordering.
InsertIntoMap inserts value with key into parent which must be a map, map ptr, or interface to map.
IsEmptyString returns true if value is an empty string.
IsIntKind reports whether k is an integer kind of any size.
IsKVPathElement report whether pe is a key/value path element.
IsMap reports whether value is a map type.
IsMapPtr reports whether v is a map ptr type.
IsNilOrInvalidValue reports whether v is nil or reflect.Zero.
IsNPathElement report whether pe is an index path element.
IsPtr reports whether value is a ptr type.
IsSlice reports whether value is a slice type.
IsSliceInterfacePtr reports whether v is a slice ptr type.
IsSlicePtr reports whether v is a slice ptr type.
IsString reports whether value is a string type.
IsStruct reports whether value is a struct type.
IsTypeInterface reports whether v is an interface.
IsTypeMap reports whether v is a map type.
IsTypeSliceOfInterface reports whether v is a slice of interface.
IsTypeSlicePtr reports whether v is a slice ptr type.
IsTypeStructPtr reports whether v is a struct ptr type.
IsUintKind reports whether k is an unsigned integer kind of any size.
IsValidPathElement reports whether pe is a valid path element.
IsValueInterface reports whether v is an interface type.
IsValueMap reports whether v is a map type.
IsValueNil returns true if either value is nil, or has dynamic type {ptr, map, slice} with value nil.
IsValueNilOrDefault returns true if either IsValueNil(value) or the default value for the type.
IsValuePtr reports whether v is a ptr type.
IsValueScalar reports whether v is a scalar type.
IsValueSlice reports whether v is a slice type.
IsValueStruct reports whether v is a struct type.
IsValueStructPtr reports whether v is a struct ptr type.
IsVPathElement report whether pe is a value path element.
IsYAMLEmpty reports whether the YAML string y is logically empty.
IsYAMLEqual reports whether the YAML in strings a and b are equal.
NewErrs returns a slice of error with a single element err.
OverlayYAML patches the overlay tree over the base tree and returns the result.
PathFromString converts a string path of form a.b.c to a string slice representation.
PathKV returns the key and value string parts of the entire key/value path element.
PathN returns the index part of the entire value path element.
PathV returns the value string part of the entire value path element.
RemoveBrackets removes the [] around pe and returns the resulting string.
ToIntValue returns 0, false if val is not a number type, otherwise it returns the int value of val.
ToString returns a string representation of errors, with elements separated by separator string.
ToYAML returns a YAML string representation of val, or the error string if an error occurs.
ToYAMLPath converts a path string to path such that the first letter of each path element is lower case.
ToYAMLPathString converts a path string such that the first letter of each path element is lower case.
UnmarshalWithJSONPB unmarshals y into out using gogo jsonpb (required for many proto defined structs).
UpdateSlicePtr updates an entry at index in the parent, which must be a slice ptr, with the given value.
ValuesAreSameType returns true if v1 and v2 has the same reflect.Type, otherwise it returns false.
YAMLDiff compares multiple YAML files and single YAML file.
# Constants
EscapedPathSeparator is what to use when the path shouldn't separate.
InsertIndex is the index that means "insert" when setting values.
KVSeparator is the separator between the key and value in a key/value path element,.
PathSeparator is the separator between path elements.
# Variables
ValidKeyRegex is a regex for a valid path key element.