validator

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidParams = status.Errorf(codes.InvalidArgument, "%s", "invalid args")

Functions

func Validate

func Validate(s interface{}) error

Types

type Validator

type Validator struct {
	*_validator.Validate
}

func (Validator) Check

func (v Validator) Check(s interface{}) error

Jump to

Keyboard shortcuts

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