validate

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2024 License: BSD-3-Clause Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Validate

type Validate struct {
	Instance *validator.Validate
}

func (Validate) UnmarshalFromBytes added in v0.0.17

func (v Validate) UnmarshalFromBytes(data []byte, destination any) error

func (Validate) UnmarshalFromRequest

func (v Validate) UnmarshalFromRequest(r *http.Request, destination any) error

func (Validate) UnmarshalFromResponse added in v0.0.9

func (v Validate) UnmarshalFromResponse(r *http.Response, destination any) error

func (Validate) UnmarshalFromString

func (v Validate) UnmarshalFromString(data string, destination any) error

Jump to

Keyboard shortcuts

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