app

package
v0.0.0-...-7f422e9 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2021 License: GPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindAndValid

func BindAndValid(c *gin.Context, form interface{}) (int, int)

func ErrorsToStr

func ErrorsToStr(errors []*validation.Error) string

func MarkErrors

func MarkErrors(ctx context.Context, errors []*validation.Error)

func Response

func Response(ctx *gin.Context, httpCode, retCode int, data interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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