common

package
v0.0.0-...-591ffde Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsISO8601Field

func IsISO8601Field(fl validator.FieldLevel) bool

func IsSHA256

func IsSHA256(hash string) bool

func IsSHA256Field

func IsSHA256Field(fl validator.FieldLevel) bool

Types

type Validator

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

func NewValidator

func NewValidator() *Validator

func (*Validator) Validate

func (validator *Validator) Validate(i interface{}) error

Jump to

Keyboard shortcuts

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