validations

package
v0.0.0-...-0b7230a Latest Latest
Warning

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

Go to latest
Published: May 17, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateUser

func CreateUser(c *gin.Context)

CreateUser -> validations to create user

func DeleteUser

func DeleteUser(c *gin.Context)

DeleteUser -> validations to delete user by id

func GetUser

func GetUser(c *gin.Context)

GetUser -> validations to get user by id

func UpdateUser

func UpdateUser(c *gin.Context)

UpdateUser -> validations to update user by id with body

func Validate

func Validate(schema interface{}, errors []map[string]interface{})

Validate -> function to validate request

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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