fend

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2022 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

func All(values ...Fend) ([]*rule.Error, error)

func First

func First(values ...Fend) (*rule.Error, error)

Types

type Fend

type Fend func() []rule.Rule

func Bool

func Bool(v bool, rules ...rule.BoolRule) Fend

func Custom added in v0.3.3

func Custom(v rule.Rule) Fend

func Float32

func Float32(v float32, rules ...rule.Float32Rule) Fend

func Float64

func Float64(v float64, rules ...rule.Float64Rule) Fend

func Int

func Int(v int, rules ...rule.IntRule) Fend

func Int32

func Int32(v int32, rules ...rule.Int32Rule) Fend

func Int64

func Int64(v int64, rules ...rule.Int64Rule) Fend

func Int8

func Int8(v int8, rules ...rule.Int8Rule) Fend

func Interface

func Interface(v interface{}, rules ...rule.InterfaceRule) Fend

func String

func String(v string, rules ...rule.StringRule) Fend

func UInt

func UInt(v uint, rules ...rule.UIntRule) Fend

func UInt32

func UInt32(v uint32, rules ...rule.UInt32Rule) Fend

func UInt64

func UInt64(v uint64, rules ...rule.UInt64Rule) Fend

func UInt8

func UInt8(v uint8, rules ...rule.UInt8Rule) Fend

func Valid added in v0.3.1

func Valid(v rule.Validator) Fend

func Var

func Var(v interface{}, tag string) Fend

Jump to

Keyboard shortcuts

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