Commit graph

772 commits

Author SHA1 Message Date
Dean Karn
21c910fc6d update README 2019-12-24 21:24:06 -08:00
Dean Karn
98150497be Add test + docs for FieldLevel.GetTag 2019-12-24 21:13:30 -08:00
Dean Karn
f1d020490a
Merge pull request #535 from LRichi/v9
Added the function GetTag.
2019-12-24 20:56:54 -08:00
Dean Karn
6720e73db2
Merge pull request #496 from shihanng/unique_struct_field
Extending unique to ensure uniqueness of a specific field in a slices of struct
2019-12-24 20:26:42 -08:00
Dean Karn
5bbca668f0
Merge pull request #530 from skateinmars/chore/improve-doc
Improve documentation for custom functions
2019-12-24 20:13:01 -08:00
Dean Karn
17c1fa8f29
Merge pull request #529 from taybart/v9
Add e.164 support
2019-12-24 19:55:08 -08:00
Dean Karn
bde478f946
Update README.md 2019-11-25 12:05:20 -08:00
Dean Karn
a060cd9724
Update README.md 2019-11-17 13:23:07 -08:00
Dean Karn
6963d3cd8d
Merge pull request #544 from go-playground/backport-required-with-fixes
fix required_*
2019-11-17 13:22:35 -08:00
Dean Karn
38bfb46b5a fix required_* 2019-11-17 13:08:50 -08:00
richi
b01869e6de Added the function GetTag.
The function returns the name of the tag on which the function was called.
2019-11-07 21:35:57 +05:00
Jean-Philippe Moal
c370ccf1ba Clarify and complete tag names example 2019-10-17 20:02:12 +02:00
Jean-Philippe Moal
94aa4243a2 Rework the non standard validators documentation 2019-10-17 19:41:40 +02:00
Taylor
aad1714b6a Add e.164 support 2019-10-16 16:16:27 -06:00
Dean Karn
cd1bd58169
Update README.md 2019-09-29 15:20:42 -07:00
Dean Karn
883a9e06c8
Merge pull request #523 from go-playground/fixes
Fixes
2019-09-29 15:20:00 -07:00
Dean Karn
9593a0f77e add test for new nil validation 2019-09-29 15:03:37 -07:00
Dean Karn
06f92248de linting cleanup 2019-09-29 14:55:11 -07:00
Dean Karn
6484d9f2fb fix required_with_* 2019-09-29 14:12:27 -07:00
Dean Karn
cc25246f01 fix required_without_* 2019-09-29 13:39:27 -07:00
Dean Karn
51fcc303b3
Merge pull request #507 from UgurAsaner/v9
Add Turkish translations
2019-09-29 09:12:55 -07:00
Dean Karn
205b733988
Merge pull request #522 from teejays/v9
Issue #521: Non-standard validators import path fix
2019-09-29 08:59:03 -07:00
Talha Ansari
4e2a13b9bf
Updated tests to reflect the import change 2019-09-29 11:41:10 -04:00
Talha Ansari
2367d307c5
Fix the import path for non-standard validators
Issue [#521](https://github.com/go-playground/validator/issues/521)
2019-09-29 11:29:42 -04:00
baran.asaner
80a8449877 Add Turkish translations 2019-08-23 15:57:00 +03:00
Shi Han NG
8efe088678
Update doc for unique=field 2019-08-02 20:42:47 +09:00
Shi Han NG
d04a036fb5
Implement unique=FieldName 2019-08-02 18:00:52 +09:00
Dean Karn
556b9da3c0
Update README.md 2019-07-12 08:35:03 -07:00
Dean Karn
ab2452c1ce
Merge pull request #489 from tobiassjosten/patch-1
Fixed typo
2019-07-12 08:31:49 -07:00
Dean Karn
d6546ee64a
Merge pull request #484 from leafduo/v9
Make `required_without` work with pointer
2019-07-12 08:31:35 -07:00
Tobias Sjösten
9f6c1cdebf
Fixed typo 2019-07-12 09:22:34 +02:00
Zuyang Kou
54db112759 Make required_without work with pointer
Fix #483, #473
2019-06-14 03:06:35 +08:00
Dean Karn
884d31b8ca
Update README.md 2019-05-23 07:57:40 -07:00
Dean Karn
56b7caa399
Merge pull request #469 from mashmooli/v9
Add `required_with`, `required_with_all`, `required_without`, `required_without_all` validators
2019-05-23 07:57:18 -07:00
Dean Karn
727e327e57
Merge pull request #471 from Zeroen/fix-hostname-regexp
fix hostname regex
2019-05-23 07:55:20 -07:00
criherna
38f91ec1a1 Merge branch 'master' into fix-hostname-regexp 2019-05-16 15:28:29 +02:00
criherna
9dedb06449 fix hostname regex 2019-05-16 13:31:59 +02:00
A Mashmooli
8c221696bb simplify required check field kind 2019-05-01 16:39:21 +04:30
A Mashmooli
d89801fc29 fix required_* test 2019-05-01 12:31:15 +04:30
A Mashmooli
de92ea70b4 fix required_* test 2019-05-01 09:18:34 +04:30
A Mashmooli
22eebe9ac5 add required_without_all to doc 2019-05-01 09:08:05 +04:30
A Mashmooli
a9e1a9226c add required_without to doc 2019-05-01 09:06:41 +04:30
A Mashmooli
678f8d753f add required_with_all to doc 2019-05-01 09:03:45 +04:30
A Mashmooli
5a98da4e8c add required_with to doc 2019-05-01 08:49:03 +04:30
Dean Karn
e25e66164b
Merge pull request #460 from masseelch/patch-1
Update main.go
2019-04-30 07:59:19 -07:00
A Mashmooli
3ec10f9949 add required_without_all validator 2019-04-29 16:05:30 +04:30
A Mashmooli
03bfd38cc1 add required_without validator 2019-04-29 16:01:11 +04:30
A Mashmooli
ebfddc5784 add required_with_all validator 2019-04-29 15:46:48 +04:30
A Mashmooli
1e6bddb6b3 fix comment 2019-04-29 15:35:35 +04:30
A Mashmooli
adbd5e9b33 add required_with validator 2019-04-29 15:32:37 +04:30