Documentation ¶
Index ¶
- func CreateDefaultImage(width, height int) *image.RGBA
- func RandDOB(minYear, maxYear int64) time.Time
- func RandDOBString(minYear, maxYear int64) string
- func RandomBool() bool
- func RandomEmail(n int) string
- func RandomInt(min, max int64) int64
- func RandomLat() float64
- func RandomLng() float64
- func RandomPoint(precision int) string
- func RandomString(n int) string
- func RandomToken(secret string, expires time.Duration) (string, error)
- func RandomUUID() string
- func ReadJSONDecoderErr(err error) error
- func ReadValidationErr(err error, validation map[string]string) map[string]string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDefaultImage ¶
func RandDOBString ¶
func RandomBool ¶
func RandomBool() bool
func RandomEmail ¶
func RandomPoint ¶
func RandomString ¶
func RandomUUID ¶
func RandomUUID() string
func ReadJSONDecoderErr ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.