cncal
85098861d3
enhancement: add zh translations for tag json, lowercase, uppercase, datetime
5 years ago
erikaleigh
3909783b73
Fix grammatical errors in errors.go
5 years ago
Milan Divkovic
f3b347cc29
Add validators that check if string does not start/end with supplied parameter
5 years ago
alfonsoprado
a98911a366
fix spanish translations
5 years ago
alfonsoprado
c1b73a784d
Add spanish translations
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
Pantelis Sampaziotis
8a19420dcf
Run tests on latest stable version 1.13.7
5 years ago
Dean Karn
c68441b7f4
Merge pull request #575 from psampaz/datetime
...
Add datetime validation
5 years ago
Pantelis Sampaziotis
912fcd16a8
resovle conflict
5 years ago
Pantelis Sampaziotis
14f963703b
Add datetime validation
5 years ago
Dean Karn
b7430f8e39
Merge pull request #571 from psampaz/json
...
Add isJSON validation
5 years ago
Dean Karn
0c80f876cd
Merge branch 'master' into json
5 years ago
Dean Karn
68e8e137fa
Merge pull request #563 from terala/master
...
Add hostname_port validator feature
5 years ago
Dean Karn
1f676c755a
Merge branch 'master' into master
5 years ago
Dean Karn
fa149de298
Merge pull request #569 from Rustery/feature/russian-translation
...
Added russian translation
5 years ago
Dean Karn
fdd54d3fc2
Merge pull request #572 from psampaz/lowercase
...
Add isLowercase and isUppercase validation
5 years ago
Dean Karn
b541462b5a
Merge pull request #574 from shenyiling/master
...
fix: typo
5 years ago
Pantelis Sampaziotis
2109f86248
Update documenation
5 years ago
Pantelis Sampaziotis
9e58bcdee1
Empty strings are not lowercase or uppercase
5 years ago
shenyiling
6d2c659585
fix: typo
5 years ago
Pantelis Sampaziotis
5b51bff4e6
Add isLowercase and isUppercase valitation
5 years ago
Pantelis Sampaziotis
581d2698d5
Added isJSON validation
5 years ago
Rustam
eb11afd9a8
Added russian translation
5 years ago
Ravi Terala
a1ac82a865
Add documentation
5 years ago
Ravi Terala
893747e5ee
Add hostname_port validator feature
5 years ago
Dean Karn
fb6c45823a
Update README.md
5 years ago
Dean Karn
5b97da4cbf
Merge pull request #560 from go-playground/cherry-pick-v9
...
cherry picking v9
5 years ago
Dean Karn
c2546fb355
Add test + docs for FieldLevel.GetTag
5 years ago
richi
f8a081fd83
Added the function GetTag.
...
The function returns the name of the tag on which the function was called.
5 years ago
Shi Han NG
e73ec5f5ab
Update doc for unique=field
5 years ago
Shi Han NG
8f604265e0
Implement unique=FieldName
5 years ago
Jean-Philippe Moal
1effcb06a7
Clarify and complete tag names example
5 years ago
Jean-Philippe Moal
703c0b681a
Rework the non standard validators documentation
5 years ago
Taylor
e7c70798c9
Add e.164 support
5 years ago
Dean Karn
a6a294bfeb
Merge pull request #541 from JonathanWThom/jt/space-separated-oneof
...
Adds ability to validate oneof for space separated strings
5 years ago
Dean Karn
c067a8f197
Merge pull request #539 from sclaire-1/master
...
Edit CONTRIBUTING.md
5 years ago
Dean Karn
1d93fb999e
Merge pull request #547 from atomicleads/master
...
Added boolean type support for “eq” validator
5 years ago
Dean Karn
5356060ec3
Merge pull request #548 from JonathanWThom/jt/datauri
...
Improves accuracy of datauri regex
5 years ago
Dean Karn
361bf41fb9
Merge pull request #550 from Streppel/patch-1
...
removing unecessary type conversion
5 years ago
Dean Karn
ae15ced5e1
Merge pull request #558 from whatvn/master
...
error is always nil
5 years ago
Nguyễn Văn Hưng
da6897303a
error is always nil
5 years ago
Streppel
0849b1840e
removing unecessary type conversion
5 years ago
Jonathan Thom
bb5fd36827
Improves accuracy of datauri regex
...
Fixes Or Enhances https://github.com/go-playground/validator/issues/518 .
Make sure that you've checked the boxes below before you submit PR:
[x] Tests exist or have been written that cover this particular change.
Change Details:
The datauri validation was not allowing certain valid strings; this
commit updates the regex to meet RFC 2397. I drew heavily on this gist
https://gist.github.com/khanzadimahdi/bab8a3416bdb764b9eda5b38b35735b8 ,
but had to make a few updates to remove some negative lookaheads (which
Go doesn't allow afaik), and to account for the way the `isDataURI`
function works - it validates the base64 separately from the other parts
of the uri.
@go-playground/admins
5 years ago
Jonathan Thom
685d3e21f3
Makes regex constant & moves single quote replace logic to parseOneOfParam2
5 years ago
Dmitry M. Gavrovsky
d149847e8a
test case for “eq” comparing boolean values #547
5 years ago
Dmitry M. Gavrovsky
dfc652373a
Added boolean type support for “eq” validator
5 years ago
Dean Karn
691a5f5f25
Update README.md
5 years ago
Dean Karn
bec732e9de
Merge pull request #543 from go-playground/fix-required-without
...
fix required_*
5 years ago
Dean Karn
a346f2eea4
Merge branch 'master' into fix-required-without
5 years ago