binding

package module
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindChangeRequest

func BindChangeRequest(c *gin.Context, ctxKey string, request audit.IChangeRequest) (err error)

BindChangeRequest Bind general change request(Update/Delete)

func BindID

func BindID(c *gin.Context) (id uint, err error)

BindID Bind param ID

func BindJSON

func BindJSON(c *gin.Context, ctxKey string, request interface{}) (err error)

BindJSON Bind general json request

func BindQuery

func BindQuery(c *gin.Context, ctxKey string, request interface{}) (err error)

BindQuery Bind general form request

Types

This section is empty.

Jump to

Keyboard shortcuts

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