Documentation ¶
Index ¶
- func CheckJSONTags(typ reflect.Type, terms ...string) error
- func CheckStructTags(tagAttr string, typ reflect.Type, terms ...string) error
- func CheckXMLTags(typ reflect.Type, terms ...string) error
- func GetSortedMapKeys(m interface{}) interface{}
- func SnakecasedFromCamelcased(s string, terms ...string) string
- func SplitCamelcasedString(s string, terms ...string) []string
- type DeepInequalityReason
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckStructTags ¶
CheckStructTags ...
func CheckXMLTags ¶ added in v0.1.12
CheckXMLTags ...
func GetSortedMapKeys ¶ added in v0.1.11
func GetSortedMapKeys(m interface{}) interface{}
GetSortedMapKeys ...
func SnakecasedFromCamelcased ¶
SnakecasedFromCamelcased converts a camelcased string into a snakecased string with lowercased components.
func SplitCamelcasedString ¶
SplitCamelcasedString splits up a camelcased string into components.
Types ¶
type DeepInequalityReason ¶ added in v0.1.10
DeepInequalityReason ...
func IsDeeplyEqual ¶ added in v0.1.10
func IsDeeplyEqual(a1, a2 interface{}) (bool, *DeepInequalityReason)
IsDeeplyEqual ...
func (*DeepInequalityReason) String ¶ added in v0.1.10
func (r *DeepInequalityReason) String() string
Click to show internal directories.
Click to hide internal directories.