Documentation
¶
Overview ¶
Package utils provides some utility functions for internal usage.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsArray ¶
func IsArray(value interface{}) bool
IsArray checks whether given value is array/slice. Note that it uses reflect internally implementing this feature.
func IsLetterLower ¶
IsLetterLower tests whether the given byte b is in lower case.
func IsLetterUpper ¶
IsLetterUpper tests whether the given byte b is in upper case.
func IsNumeric ¶
IsNumeric tests whether the given string s is numeric. Note that float string like "123.456" is also numeric.
func ReplaceByMap ¶
ReplaceByMap returns a copy of <origin>, which is replaced by a map in unordered way, case-sensitively.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.