Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrStruct = errors.New("the struct provided couldn't be checked") ErrBadRequest = errors.New("bad request") )
Functions ¶
func FormatUser ¶ added in v0.8.0
FormatUser apply some formation rules to a models.User and encrypt the password.
func HashPassword ¶ added in v0.8.0
func ValidateStruct ¶ added in v0.7.3
func ValidateVar ¶ added in v0.7.3
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.