validator

package
v0.0.0-...-1fd1920 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BadRequests = errorx.NewHttpErr(40001, "bad requests")
)

Functions

func NewXcode

func NewXcode(msg string)

Types

type V

type V struct {
	// contains filtered or unexported fields
}

func NewValidate

func NewValidate() *V

func (*V) Validate

func (v *V) Validate(_ *http.Request, data any) error

Jump to

Keyboard shortcuts

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