Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EqualFoldWithoutChars ¶
EqualFoldWithoutChars checks string `s1` and `s2` equal case-insensitively, with/without chars '-'/'_'/'.'/' '.
func MapPossibleItemByKey ¶
func MapPossibleItemByKey(data map[string]interface{}, key string) (foundKey string, foundValue interface{})
MapPossibleItemByKey tries to find the possible key-value pair for given key ignoring cases and symbols.
Note that this function might be of low performance.
func MapToStruct ¶
func MapToStruct(data interface{}, structPtr interface{}) error
func RemoveSymbols ¶
RemoveSymbols removes all symbols from string and lefts only numbers and letters.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.