MCPcopy Create free account

hub / github.com/asaskevich/govalidator / types & classes

Types & classes58 in github.com/asaskevich/govalidator

↓ 4 callersFuncTypeCustomTypeValidator
CustomTypeValidator is a wrapper for validator functions that returns bool and accepts any type. The second parameter should be the context (in the ca
types.go:15
↓ 2 callersFuncTypeValidator
Validator is a wrapper for a validator function that returns bool and accepts string.
types.go:11
StructAddress
validator_test.go:2459
FuncTypeConditionIterator
ConditionIterator is the function that accepts element of slice/array and its index and returns boolean
arrays.go:10
TypeAliasCustomByteArray
validator_test.go:2706
StructCustomMessage
make sure validators with custom messages don't show up in the validator string
validator_test.go:3699
StructEmptyIsInStruct
validator_test.go:2937
StructEmptyRequiredIsInStruct
validator_test.go:2911
StructError
Error encapsulates a name, an error and whether there's a custom error message or not.
error.go:26
TypeAliasErrors
Errors is an array of multiple errors and conforms to the error interface.
error.go:9
StructEvenMoreNestedStruct
validator_test.go:2975
StructFieldRequiredByDefault
validator_test.go:2529
StructFieldsRequiredByDefaultButExemptOrOptionalStruct
validator_test.go:2543
StructFieldsRequiredByDefaultButExemptStruct
validator_test.go:2538
StructFunkyIsInStruct
validator_test.go:3055
StructISO3166Entry
ISO3166Entry stores country codes
types.go:172
StructISO693Entry
ISO693Entry stores ISO language codes
types.go:464
FuncTypeInterfaceParamValidator
InterfaceParamValidator is a wrapper for functions that accept variants parameters for an interface value
types.go:21
StructInvalidStruct
validator_test.go:2662
StructIsInStruct
TODO: this testcase should be fixed type StringMatchesComplexStruct struct { StringMatches string `valid:"matches(^\\$\\([\"']\\w+[\"']\\)$)"` }
validator_test.go:2514
FuncTypeIterator
Iterator is the function that accepts element of slice/array and its index
arrays.go:4
StructLengthStruct
validator_test.go:2497
StructMessageWithSeveralFieldsStruct
validator_test.go:2548
StructMissingValidationDeclarationStruct
validator_test.go:2524
StructMultipleFieldsRequiredByDefault
validator_test.go:2533
StructNegationStruct
validator_test.go:2492
StructNestedStruct
validator_test.go:2978
StructOuterStruct
validator_test.go:2984
FuncTypeParamValidator
ParamValidator is a wrapper for validator functions that accept additional parameters.
types.go:18
StructPost
validator_test.go:2518
StructPrivateStruct
validator_test.go:2482
FuncTypeReduceIterator
ReduceIterator is the function that accepts two element of slice/array and returns result of merging those values
arrays.go:13
StructRequiredIsInStruct
validator_test.go:2885
FuncTypeResultIterator
ResultIterator is the function that accepts element of slice/array and its index and returns any result
arrays.go:7
StructStringLengthStruct
validator_test.go:2501
StructStringMatchesStruct
validator_test.go:2505
StructStructCapital
validator_test.go:3548
StructStructLower
validator_test.go:3559
StructStructWithCustomAndBuiltinValidator
validator_test.go:2682
StructStructWithCustomByteArray
validator_test.go:2708
StructStructWithCustomValidation
validator_test.go:3359
StructTest1
validator_test.go:3444
StructTest2
validator_test.go:3473
StructTest3
validator_test.go:3509
StructUnsupportedTypeError
UnsupportedTypeError is a wrapper for reflect.Type
types.go:44
StructUser
validator_test.go:2464
StructUserValid
validator_test.go:2473
StructUserWithPointers
validator_test.go:3391
StructValidStruct
validator_test.go:2674
StructcustomTypeTagMap
types.go:88
TypeAliasstringValues
stringValues is a slice of reflect.Value holding *reflect.StringValue. It implements the methods to sort by string.
types.go:50
StructtagOption
types.go:37
TypeAliastagOptionsMap
types.go:22
TypeAliastestByteArray
validator_test.go:3145
TypeAliastestByteMap
validator_test.go:3146
TypeAliastestByteSlice
validator_test.go:3147
TypeAliastestStringIntMap
validator_test.go:3149
TypeAliastestStringStringMap
validator_test.go:3148