Commit graph

825 commits

Author SHA1 Message Date
Dean Karn
7e978ff872
Merge pull request #600 from amiraliucsc/fix/RFC952-host
Fix/rfc952 host
2020-05-20 22:47:21 -07:00
Dean Karn
957a452839
Merge pull request #598 from cncal/enhance_zh_translation
enhancement: add zh translations for tag json, lowercase, uppercase, …
2020-05-20 22:47:04 -07:00
Dean Karn
257f202dd1
Merge pull request #588 from erikaleigh/fix-grammatical-errors
Fix grammatical errors in errors.go
2020-05-20 22:46:47 -07:00
Dean Karn
dbfcad250f
Merge pull request #583 from metalinspired/master
Add validators that check if string does not start/end with supplied parameter
2020-05-20 22:46:34 -07:00
Dean Karn
07f2314af2
Merge pull request #582 from alfonsoprado/feature/spanish-translation-v10
validator.v10: Add spanish translations
2020-05-20 22:43:54 -07:00
Dean Karn
a5e9e63a9a
Merge pull request #579 from psampaz/readme_updates
Updated version and go doc link
2020-05-20 22:42:52 -07:00
Dean Karn
8203121676
Merge pull request #578 from psampaz/validations_list
Add list of baked in validations in README.md
2020-05-20 22:41:53 -07:00
Dean Karn
175275dfea
Merge pull request #577 from psampaz/travis_1_13_7
Run tests on latest stable version 1.13.7
2020-05-20 22:41:00 -07:00
amiraliucsc
c7dc8812a2 Add more tests
Signed-off-by: amiraliucsc <amirali7089@gmail.com>
2020-04-19 18:44:55 +00:00
amiraliucsc
1611f1e72c Add test regarding multiple dots in hostname
Signed-off-by: amiraliucsc <amirali7089@gmail.com>
2020-04-19 06:17:28 +00:00
amiraliucsc
18fba4ba8a Fix the regex for RFC952 hostname validator
Signed-off-by: amiraliucsc <amirali7089@gmail.com>
2020-04-19 05:22:13 +00:00
cncal
85098861d3 enhancement: add zh translations for tag json, lowercase, uppercase, datetime 2020-04-19 12:08:26 +08:00
erikaleigh
3909783b73 Fix grammatical errors in errors.go 2020-03-02 15:55:30 -04:00
Milan Divkovic
f3b347cc29 Add validators that check if string does not start/end with supplied parameter 2020-02-19 10:15:03 +01:00
alfonsoprado
a98911a366 fix spanish translations 2020-02-11 10:42:39 -03:00
alfonsoprado
c1b73a784d Add spanish translations 2020-02-11 10:06:16 -03:00
Pantelis Sampaziotis
afacb47f2b Updated version and go doc link 2020-02-11 12:16:44 +02:00
Pantelis Sampaziotis
9f175c7ece Add list of validation in README 2020-02-10 21:47:11 +02:00
Pantelis Sampaziotis
8a19420dcf Run tests on latest stable version 1.13.7 2020-02-09 19:52:24 +02:00
Dean Karn
c68441b7f4
Merge pull request #575 from psampaz/datetime
Add datetime validation
2020-02-09 09:35:38 -08:00
Pantelis Sampaziotis
912fcd16a8 resovle conflict 2020-02-09 19:30:16 +02:00
Pantelis Sampaziotis
14f963703b Add datetime validation 2020-02-09 19:28:20 +02:00
Dean Karn
b7430f8e39
Merge pull request #571 from psampaz/json
Add isJSON validation
2020-02-09 09:18:51 -08:00
Dean Karn
0c80f876cd Merge branch 'master' into json 2020-02-09 09:11:31 -08:00
Dean Karn
68e8e137fa Merge pull request #563 from terala/master
Add hostname_port validator feature
2020-02-09 09:02:02 -08:00
Dean Karn
1f676c755a
Merge branch 'master' into master 2020-02-09 08:59:24 -08:00
Dean Karn
fa149de298 Merge pull request #569 from Rustery/feature/russian-translation
Added russian translation
2020-02-09 08:55:09 -08:00
Dean Karn
fdd54d3fc2 Merge pull request #572 from psampaz/lowercase
Add isLowercase and isUppercase validation
2020-02-09 08:54:35 -08:00
Dean Karn
b541462b5a Merge pull request #574 from shenyiling/master
fix: typo
2020-02-09 08:53:58 -08:00
Pantelis Sampaziotis
2109f86248 Update documenation 2020-02-07 16:32:30 +02:00
Pantelis Sampaziotis
9e58bcdee1 Empty strings are not lowercase or uppercase 2020-02-07 16:30:58 +02:00
shenyiling
6d2c659585 fix: typo 2020-02-06 18:28:56 +08:00
Pantelis Sampaziotis
5b51bff4e6 Add isLowercase and isUppercase valitation 2020-02-05 22:39:47 +02:00
Pantelis Sampaziotis
581d2698d5 Added isJSON validation 2020-02-04 18:04:58 +02:00
Rustam
eb11afd9a8 Added russian translation 2020-01-22 16:08:32 +03:00
Ravi Terala
a1ac82a865 Add documentation 2020-01-17 09:52:57 -08:00
Ravi Terala
893747e5ee Add hostname_port validator feature 2020-01-03 11:30:08 -08:00
Dean Karn
fb6c45823a
Update README.md 2019-12-24 21:43:24 -08:00
Dean Karn
5b97da4cbf
Merge pull request #560 from go-playground/cherry-pick-v9
cherry picking v9
2019-12-24 21:41:40 -08:00
Dean Karn
c2546fb355 Add test + docs for FieldLevel.GetTag 2019-12-24 21:16:08 -08:00
richi
f8a081fd83 Added the function GetTag.
The function returns the name of the tag on which the function was called.
2019-12-24 21:15:37 -08:00
Shi Han NG
e73ec5f5ab Update doc for unique=field 2019-12-24 20:28:58 -08:00
Shi Han NG
8f604265e0 Implement unique=FieldName 2019-12-24 20:28:41 -08:00
Jean-Philippe Moal
1effcb06a7 Clarify and complete tag names example 2019-12-24 20:16:53 -08:00
Jean-Philippe Moal
703c0b681a Rework the non standard validators documentation 2019-12-24 20:16:36 -08:00
Taylor
e7c70798c9 Add e.164 support 2019-12-24 20:08:33 -08:00
Dean Karn
a6a294bfeb
Merge pull request #541 from JonathanWThom/jt/space-separated-oneof
Adds ability to validate oneof for space separated strings
2019-12-24 10:54:55 -08:00
Dean Karn
c067a8f197
Merge pull request #539 from sclaire-1/master
Edit CONTRIBUTING.md
2019-12-24 10:38:25 -08:00
Dean Karn
1d93fb999e
Merge pull request #547 from atomicleads/master
Added boolean type support for “eq” validator
2019-12-24 10:37:35 -08:00
Dean Karn
5356060ec3
Merge pull request #548 from JonathanWThom/jt/datauri
Improves accuracy of datauri regex
2019-12-24 10:35:19 -08:00