Versions in this module Expand all Collapse all v3 v3.3.3 Sep 4, 2022 v3.3.2 May 12, 2022 v3.3.1 Nov 11, 2021 v3.3.0 Apr 6, 2020 v3.2.0 Apr 2, 2020 v3.1.1 Mar 18, 2020 v3.1.0 Feb 6, 2020 v3.0.0 Jan 15, 2020 Changes in this version + var CustomKeys = map[string]string + func GenerateKey(s string) string + type BytesArePresent struct + Field []byte + Message string + Name string + func (v *BytesArePresent) IsValid(errors *validate.Errors) + type EmailIsPresent struct + Field string + Message string + Name string + func (v *EmailIsPresent) IsValid(errors *validate.Errors) + type EmailLike struct + Field string + Message string + Name string + func (v *EmailLike) IsValid(errors *validate.Errors) + type FuncValidator struct + Field string + Fn func() bool + Message string + Name string + func (f *FuncValidator) IsValid(verrs *validate.Errors) + type IntArrayIsPresent struct + Field []int + Message string + Name string + func (v *IntArrayIsPresent) IsValid(errors *validate.Errors) + type IntIsGreaterThan struct + Compared int + Field int + Message string + Name string + func (v *IntIsGreaterThan) IsValid(errors *validate.Errors) + type IntIsLessThan struct + Compared int + Field int + Message string + Name string + func (v *IntIsLessThan) IsValid(errors *validate.Errors) + type IntIsPresent struct + Field int + Message string + Name string + func (v *IntIsPresent) IsValid(errors *validate.Errors) + type IntsAreEqual struct + Message string + Name string + ValueOne int + ValueTwo int + func (v *IntsAreEqual) IsValid(errors *validate.Errors) + type IntsAreNotEqual struct + Message string + Name string + ValueOne int + ValueTwo int + func (v *IntsAreNotEqual) IsValid(errors *validate.Errors) + type RegexMatch struct + Expr string + Field string + Message string + Name string + func (v *RegexMatch) IsValid(errors *validate.Errors) + type StringInclusion struct + Field string + List []string + Message string + Name string + func (v *StringInclusion) IsValid(errors *validate.Errors) + type StringIsPresent struct + Field string + Message string + Name string + func (v *StringIsPresent) IsValid(errors *validate.Errors) + type StringLengthInRange struct + Field string + Max int + Message string + Min int + Name string + func (v *StringLengthInRange) IsValid(errors *validate.Errors) + type StringsMatch struct + Field string + Field2 string + Message string + Name string + func (v *StringsMatch) IsValid(errors *validate.Errors) + type TimeAfterTime struct + FirstName string + FirstTime time.Time + Message string + SecondName string + SecondTime time.Time + func (v *TimeAfterTime) IsValid(errors *validate.Errors) + type TimeIsBeforeTime struct + FirstName string + FirstTime time.Time + Message string + SecondName string + SecondTime time.Time + func (v *TimeIsBeforeTime) IsValid(errors *validate.Errors) + type TimeIsPresent struct + Field time.Time + Message string + Name string + func (v *TimeIsPresent) IsValid(errors *validate.Errors) + type URLIsPresent struct + Field string + Message string + Name string + func (v *URLIsPresent) IsValid(errors *validate.Errors) + type UUIDIsPresent struct + Field uuid.UUID + Message string + Name string + func (v *UUIDIsPresent) IsValid(errors *validate.Errors) Other modules containing this package github.com/gobuffalo/validate