Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidEmailAddress = errors.New("invalid email address") ErrInvalidIcanSuffix = errors.New("invalid ICAN suffix") )
Functions ¶
func Pointer ¶
func Pointer[T any](v T) *T
Pointer is a helper to make a pointer to the given value.
func PrettyPrint ¶
func PrettyPrint(v ...interface{})
PrettyPrint prints the given interface in a pretty format
func PrettyString ¶
func PrettyString(v interface{}) string
PrettyString returns the given interface in a pretty format
func SanitizeEmail ¶
SanitizeEmail cleans email address from dots, dashes, etc
func StructToUrlValues ¶
StructToUrlValues converts a struct to a url.Values object.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.