Documentation ¶
Index ¶
- func AddUnique(arr []string, str string) []string
- func CleanupString(email string) string
- func FileExists(path string) bool
- func IsImage(filetype string) bool
- func IsValidIdentifier(s string) bool
- func MakeToken(obj interface{}) string
- func MatchDomain(spec string, domain string) bool
- func RemoveString(s []string, r string) []string
- func SearchString(arr []string, needle string) bool
- func SecureToken() string
- func ToJSONString(obj interface{}) string
- func ValidateEmail(e string) error
- type JSONMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanupString ¶
CleanupString trims string and makes all lowercase
func FileExists ¶
func IsValidIdentifier ¶
func MatchDomain ¶
func RemoveString ¶
func SearchString ¶
func ToJSONString ¶
func ToJSONString(obj interface{}) string
func ValidateEmail ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.