dscan

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Validate

func Validate(t interface{}) error

Types

type Validator

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

func (*Validator) RegisterCustomValidator

func (v *Validator) RegisterCustomValidator(tag string, fn validator.Func) error

func (*Validator) ValidateStruct

func (v *Validator) ValidateStruct(obj interface{}) error

Jump to

Keyboard shortcuts

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