Dean Karn
456221b630
Fix time.Duration parsing for int param ( #678 )
...
This fixes an issue where if the param of a time.Durtion type is specified
as an integer, denoting nanosecond precision, instead of time duration
string the validation would panic.
the fixes ensures it falls back to the previous expected behaviour.
4 years ago
Takeshi Kaneko
f2ce6a4f92
Fix a category of endswith in README
4 years ago
root
ca0533bb97
Closes #660 readme updates
4 years ago
hzw
44a150f359
add required_if and required_unless
4 years ago
Taylor
0bfda52ce1
Add e164 to doc.go
4 years ago
Dean Karn
ea924ce89a
Update README.md
5 years ago
Pantelis Sampaziotis
afacb47f2b
Updated version and go doc link
5 years ago
Pantelis Sampaziotis
9f175c7ece
Add list of validation in README
5 years ago
Dean Karn
fb6c45823a
Update README.md
5 years ago
Dean Karn
691a5f5f25
Update README.md
5 years ago
Kaelan Thijs Fouwels
8678802a39
Correction of documentation URL
...
see https://github.com/go-playground/validator/issues/536
5 years ago
Dean Karn
7e57ca0cf5
convert to go modules
5 years ago
Dean Karn
cd1bd58169
Update README.md
5 years ago
Dean Karn
556b9da3c0
Update README.md
5 years ago
Dean Karn
884d31b8ca
Update README.md
6 years ago
Dean Karn
46b4b1e301
Update README.md
6 years ago
Dean Karn
b199fa0642
Update README.md
6 years ago
Dean Karn
774d09c386
Update README.md
6 years ago
Dean Karn
cdd5c28d21
Update README.md
6 years ago
Dean Karn
0277b12d53
Update README.md
6 years ago
Dean Karn
e69e9a28bb
Update README.md
6 years ago
Dean Karn
ab2a8a9908
Update README.md
6 years ago
Dean Karn
e055f4eb7f
Update README.md
6 years ago
Dean Karn
d942191d51
Update README.md
6 years ago
Dean Karn
ce9336f6e2
Update README.md
6 years ago
Dean Karn
fb72538343
Update README.md
6 years ago
Dean Karn
f28cb45dc0
Update README.md
7 years ago
Dean Karn
ffe836d736
Expanded numeric & number validations
...
It was originally intended for these to only be used on strings, however
it makes sense to also use them if your dealing with type interface{}
so now ints and floats return true for this validation also as they are
both numeric and numbers.
closes #356
7 years ago
Dean Karn
801c8790f3
Update README.md
7 years ago
Dean Karn
ee0bbdea51
increment version
7 years ago
Dean Karn
54da7fa48f
fix linting and spelling errors
7 years ago
Dean Karn
ff1ee42e83
Update README.md
7 years ago
Dean Karn
8ce234ff02
Update README.md
7 years ago
Dean Karn
150fe5b6a4
Update README.md
7 years ago
Dean Karn
535f85221e
Update README.md
7 years ago
Dean Karn
5e036656b8
Add hostname_rfc1123 validation
7 years ago
Dean Karn
3620d3c069
update docs for FieldWithValue=>VarWithValue
7 years ago
Dean Karn
b962f3d7d5
Correct Var tagCache locking
7 years ago
Dean Karn
230db62e07
update docs to clarify or vs tag separators ( #334 )
7 years ago
Dean Karn
b1f51f36f1
Correct consequtive or logic ( #330 )
7 years ago
Dean Karn
61caf9d303
add map key validation support ( #324 )
7 years ago
Dean Karn
1304298bf1
Update README.md
7 years ago
Dean Karn
34b84953ff
change related software
7 years ago
Dean Karn
11a1fab51d
Add unique validation
7 years ago
Dean Karn
0b5dc7605b
Add isdefault validation
7 years ago
Dean Karn
5c4193d98e
Update README.md
7 years ago
Dean Karn
44d9acf0a8
Update README.md
7 years ago
Dean Karn
0f6f568263
Add contextual validation support via context.Context ( #296 )
...
* Add contextual validation support via context.Context
Added:
- RegisterValidationCtx
- RegisterStructValidationCtx
- StructCtx
- StructFilteredCtx
- StructPartialCtx
- StructExceptCtx
- VarCtx
- VarWithValueCtx
7 years ago
Dean Karn
fb68f39656
Add Access to Field Name from FieldLevel ( #284 )
8 years ago
Dean Karn
27158c7a84
Update README.md
8 years ago