binding

package
v0.38.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustDecodeBody added in v0.4.0

func MustDecodeBody(ctx *gin.Context, v interface{}) bool

DecodeBody decodes the request body. If it fails it will abort the request with an error response.

func MustParseParamUUID added in v0.4.0

func MustParseParamUUID(ctx *gin.Context, name string) (uuid.UUID, bool)

MustParseParamUUID parses the param from the request as UUID. If it fails it will abort the request with an error response.

func ParseParamUUID

func ParseParamUUID(ctx *gin.Context, name string) (uuid.UUID, error)

ParseParamUUID parses the param from the request as UUID.

Types

This section is empty.

Jump to

Keyboard shortcuts

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