Will May
498124539d
Expose the struct the field is contained within
...
This allows users of `FieldError` to be able to query information about
the struct the field is contained within. This information can then be
used to work out what to display when the param field points to another
field, such as with `gtfield`, and a tag name function has been
registered.
3 years ago
Dean Karn
9e2ea40380
update ci action versions
3 years ago
Dean Karn
29bf2a5bd0
bump version
3 years ago
Dean Karn
02c12dd7ef
update RegisterStructValidationMapRules docs
3 years ago
Leo Liang
d0d0c355aa
Feat: support validate struct without struct tag ( #934 )
3 years ago
Jason.Zhang
d3e4be3e44
Enhanced ValidationCtx method to support nested map in slice #915 ( #917 )
3 years ago
gosua
99922fccc7
Enhance example in function docu ( #858 )
3 years ago
Sec Cake
4f55647bd7
Added some hash validation ( #875 )
3 years ago
mrkongo
39aa2e3a27
add it_IT translation ( #694 )
3 years ago
Vuong
7fa836dc0a
Add Vietnamese translations ( #820 )
3 years ago
Ayoob Mohammed
21a103f428
Add Arabic translations ( #825 )
...
* Add arabic translations
* Add ULID translation
3 years ago
Eduardo Mello
e3f29bf088
Boolean translation ( #930 )
...
* ✨ add en boolean translation
* ✨ add pt-BR boolean translation
3 years ago
Renato Alves Torres
d37da5e53c
fix: add en translation for required_if ( #884 )
3 years ago
Ciprian
0a26ee57e4
Updated `endsnotwith` description in Readme ( #824 )
3 years ago
Lauris BH
f09500fca7
Fix support for aliased time.Time types ( #890 )
3 years ago
Massimo Costa
090afeb8ac
enhancement: add italian translation ( #914 )
3 years ago
XIE Long
af72f63d39
Result is wrong while there are multiple group of OR operators #910 ( #911 )
3 years ago
Stefan Dillenburg
f2d3ff7f98
fix: Remove underscore from RFC-1123 based regex ( #912 )
...
RFC-1123 is based on RFC-952, which doesn't allow underscores. RFC-1123
must be therefore implemented with the same constraint to disallow
underscores in host names.
3 years ago
hehe.bu
aea8782168
fix ja typos ( #898 )
3 years ago
Sol
24b5175a34
Fix typo ( #891 )
3 years ago
NgeKaworu
bc9f9dd2eb
Update zh.go ( #856 )
3 years ago
alessmar
dd2857a4cb
Credit card validation ( #924 )
3 years ago
Dean Karn
bb30072b48
update ci config
3 years ago
Jacob Hochstetler
c0195b2b40
added excluded_if/excluded_unless tags + tests ( #847 )
3 years ago
Dean Karn
58d5778b18
Update README.md
3 years ago
Johannes
3e49fe4eb8
bump golang.org/x/text to fix CVE-2021-38561 ( #881 )
...
Co-authored-by: Dean Karn <Dean.Karn@gmail.com>
3 years ago
Anmar85
dd2de9c1f7
update /x/crypto to resolve CVE-2021-43565 ( #904 )
...
Co-authored-by: Anmar85 <anmar@anmars-mbp.mynetworksettings.com>
3 years ago
Dean Karn
88976f39f6
Update README.md
3 years ago
jtseng-godaddy
06ec79d987
Including regex version validation ( #831 )
3 years ago
Markus Tenghamn
8fe074c546
Added ulid validation ( #826 )
3 years ago
Kazuki Onishi
ec2071b383
Add DNS RFC 1035 label format validator ( #833 )
3 years ago
nesty92
c67d01d610
Add support for all hex color notations ( #866 ) ( #867 )
3 years ago
Markus Tenghamn
19f8e61dba
Fixed country_code validation to properly handle strings ( #873 )
3 years ago
Dean Karn
ce34f361cc
update ut dep ( #816 )
3 years ago
Metin Oğurlu
d4271985b4
Feature/currency codes ( #811 )
3 years ago
András Czigány
42525d89ab
document thread safety and recommended singleton usage ( #809 )
3 years ago
Xavier Vello
a67baa74f1
feature/boolean ( #804 )
3 years ago
Dmitriy
14221d02a5
fix: Fixed panic when use ru lang for translation, added and fixed tests ( #814 )
3 years ago
Dean Karn
6dbf61e046
update deps ( #815 )
3 years ago
Dean Karn
9a5bce3253
Update README.md
3 years ago
Dean Karn
b03f1f453e
update all deps to latest versions ( #801 )
3 years ago
cokezhang
61a982014e
enhancement: add zh translations for tag alphaunicode,alphanumunicode,containsrune,startswith,endswith ( #799 )
3 years ago
Oleg Nikachev
44c2696cbd
Minor fixes. ( #798 )
...
Fixed README.md. Added missing tags.
Fixed function names in comments in baked_in.go.
Fixed error strings in validator_instance.go (should not be
capitalized).
Fixed twice imported assert package in validator_test.go.
3 years ago
steveorourke
e40bece342
Add support for jwt validation ( #783 )
3 years ago
Brian Leishman
8cfa1e93b6
Update README.md ( #765 )
...
fix https://github.com/go-playground/validator/issues/756
Undoes this pr? https://github.com/go-playground/validator/pull/710
Running `go get github.com/go-playground/validator/v10` definitely seems to be the right command. Go getting without the version pulls 9 or just the master. Also importing without the version does not use the current version (v10 at the time of this pr)
Co-authored-by: Dean Karn <Dean.Karn@gmail.com>
3 years ago
Saed SayedAhmed
f1befad848
Addressing security vulnerabilities ( #774 )
...
* Update yaml and x/crypto to fix security vulnerabilities
* run go mod tidy to add missing go.sum entries
Co-authored-by: Dean Karn <Dean.Karn@gmail.com>
3 years ago
Dean Karn
65bb123677
Update README.md
4 years ago
amir
e3e38634b1
Add persian translations ( #771 )
4 years ago
N/A
af8b8d1c88
Add iso-3166-2 ( #788 )
4 years ago
Levani
8bfa88a462
Update README.md ( #786 )
4 years ago