-
Notifications
You must be signed in to change notification settings - Fork 7
/
constants.go
72 lines (49 loc) · 1.7 KB
/
constants.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
package valgo
const (
ErrorKeyAfter = "after"
ErrorKeyNotAfter = "not_after"
ErrorKeyAfterOrEqualTo = "after_equal_to"
ErrorKeyNotAfterOrEqualTo = "not_after_equal_to"
ErrorKeyBefore = "before"
ErrorKeyNotBefore = "not_before"
ErrorKeyBeforeOrEqualTo = "before_equal_to"
ErrorKeyNotBeforeOrEqualTo = "not_before_equal_to"
ErrorKeyBetween = "between"
ErrorKeyNotBetween = "not_between"
ErrorKeyBlank = "blank"
ErrorKeyNotBlank = "not_blank"
ErrorKeyEmpty = "empty"
ErrorKeyNotEmpty = "not_empty"
ErrorKeyEqualTo = "equal_to"
ErrorKeyNotEqualTo = "not_equal_to"
ErrorKeyFalse = "false"
ErrorKeyNotFalse = "not_false"
ErrorKeyGreaterOrEqualTo = "greater_equal_to"
ErrorKeyNotGreaterOrEqualTo = "not_greater_equal_to"
ErrorKeyGreaterThan = "greater_than"
ErrorKeyNotGreaterThan = "not_greater_than"
ErrorKeyInSlice = "in_slice"
ErrorKeyNotInSlice = "not_in_slice"
ErrorKeyLength = "length"
ErrorKeyNotLength = "not_length"
ErrorKeyLengthBetween = "length_between"
ErrorKeyNotLengthBetween = "not_length_between"
ErrorKeyLessOrEqualTo = "less_or_equal_to"
ErrorKeyNotLessOrEqualTo = "not_less_or_equal_to"
ErrorKeyLessThan = "less_than"
ErrorKeyNotLessThan = "not_less_than"
ErrorKeyMatchingTo = "matching_to"
ErrorKeyNotMatchingTo = "not_matching_to"
ErrorKeyMaxLength = "max_length"
ErrorKeyNotMaxLength = "not_max_length"
ErrorKeyMinLength = "min_length"
ErrorKeyNotMinLength = "not_min_length"
ErrorKeyNil = "nil"
ErrorKeyNotNil = "not_nil"
ErrorKeyPassing = "passing"
ErrorKeyNotPassing = "not_passing"
ErrorKeyTrue = "true"
ErrorKeyNotTrue = "not_true"
ErrorKeyZero = "zero"
ErrorKeyNotZero = "not_zero"
)