Documentation ¶
Index ¶
- func AsArrayOfInt(arr []interface{}) []int
- func AsArrayOfString(arr []interface{}) []string
- func ContainsInt(array []int, element int) bool
- func ContainsString(array []string, element string) bool
- func GetMD5Hash(text string) string
- func IsEqualArray(a, b []Equatable) bool
- func IsValidEmail(value string) bool
- func IsValidPhone(value string) bool
- func UnwrapOrDefaultBool(value *bool, d bool) bool
- func UnwrapOrDefaultInt(value *int, d int) int
- func UnwrapOrDefaultInt64(value *int64, d int64) int64
- func UnwrapOrDefaultString(value *string, d string) string
- type Equatable
- type Hashable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AsArrayOfInt ¶
func AsArrayOfInt(arr []interface{}) []int
func AsArrayOfString ¶
func AsArrayOfString(arr []interface{}) []string
func ContainsInt ¶
func ContainsString ¶
func GetMD5Hash ¶
func IsEqualArray ¶
func IsValidEmail ¶
func IsValidPhone ¶
func UnwrapOrDefaultBool ¶
func UnwrapOrDefaultInt ¶
func UnwrapOrDefaultInt64 ¶
func UnwrapOrDefaultString ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.