Documentation ¶
Index ¶
- func Coalesce(values ...interface{}) interface{}
- func CoalesceString(s ...string) string
- func CoallesceString(s ...string) stringdeprecated
- func Contains(s []string, str string) bool
- func GenerateRandomInt(min, max int) int
- func GenerateRandomString(i int) string
- func Hash(s string) uint32
- func IsNumber(s string) bool
- func JsonEscape(i string) string
- func StrEscape(str string) string
- func ToJSONString(data interface{}) string
- func ToUpper(s string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CoalesceString ¶
func CoallesceString
deprecated
func GenerateRandomInt ¶
GenerateRandomInt is a helper function to generate random int by min and max
func GenerateRandomString ¶
GenerateRandomString is a helper function to generate random string by i length
func JsonEscape ¶
func ToJSONString ¶
func ToJSONString(data interface{}) string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.