Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Default

type Default struct{}

func (*Default) Validate

func (p *Default) Validate() []validator.Error

Validate is empty by default. Override it if you want custom Validate

type Validator

type Validator interface {
	Validate() []validator.Error
}

Source Files