Documentation ¶
Index ¶
- func ByteToString(value []byte) string
- func DecodeBase64(value string) (string, error)
- func EncodeBase64(value string) string
- func GenerateRandomString(size int) string
- func HashAndSalt(password string) (string, error)
- func IsValidIPAddress(s string) bool
- func IsValidURL(s string) bool
- func NormalizeString(s string) (string, error)
- func ParseCheckboxBoolean(value string) bool
- func PasswordsMatch(hashed, plain string) bool
- func StringIsNumber(s string) bool
- func StringToByte(value string) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ByteToString ¶
func DecodeBase64 ¶
DecodeBase64 returns a decoded string from base64
func EncodeBase64 ¶
EncodeBase64 returns a encoded string to base64
func GenerateRandomString ¶
GenerateRandomString generate a random string based on a given size
func HashAndSalt ¶
func IsValidIPAddress ¶
func IsValidURL ¶
func NormalizeString ¶
func ParseCheckboxBoolean ¶
func PasswordsMatch ¶
func StringIsNumber ¶
func StringToByte ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.