domains

package
v0.0.0-...-9dc0c09 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2022 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ShouldBind

func ShouldBind(c *gin.Context, errMsg string, params interface{}) *utils.Error

Types

type ErrorMsg

type ErrorMsg struct {
	Field   string `json:"field"`
	Message string `json:"message"`
}

gin-Gonic Bind Format Error Inspired from https://www.convictional.com/blog/gin-validation

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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