validationutil

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckHash

func CheckHash(password string, hash string) bool

func GenerateHash

func GenerateHash(password string) (string, error)

func ValidateEmail

func ValidateEmail(email string) bool

validate email address

func ValidateID

func ValidateID(str string) (uint, error)

validate the auto increment ID

func ValidateTableCreationRequest

func ValidateTableCreationRequest(table *model.CreateTableRequest) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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