helper

package
v0.0.0-...-108e80b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFiberCtx

func NewFiberCtx() *fiber.Ctx

NewFiberCtx func create new fiber.Ctx used for testing handler like controller and middleware.

func RandomEmail

func RandomEmail() string

RandomEmail func return a email used for testing and any needs.

func RandomEmails

func RandomEmails(n uint) []string

RandomEmails func return some emails used for testing and any needs.

func RandomIPAddress

func RandomIPAddress() string

RandomIPAddress func return a IP Address used for testing and any needs.

func RandomString

func RandomString(n uint) string

RandomString func generate random string used for testing and any needs.

func ToTitle

func ToTitle(s string) string

ToTitle func make string to Title Case Example : Your name => Your Name

func ValidateEmails

func ValidateEmails(emails ...string) error

ValidateEmails func validates emails

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL