validation

package module
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Validate is a wrapper around validator.Validate that returns a map of JSON field names to friendly error messages.

Functions

func ShouldBindAndValidateStruct

func ShouldBindAndValidateStruct(c *gin.Context, obj any, lang ...string) (map[string]string, error)

ShouldBindAndValidateStruct binds and validates struct

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