Ramy Aboul Naga
cbd5cf6393
Use type switch in favor of fmt.Sprint
6 years ago
Ramy Aboul Naga
52ea448998
Allow latitude/longitude validation for numeric values
6 years ago
Dean Karn
cdd5c28d21
Update README.md
6 years ago
franklin
91d81934ab
Add baked in validators for containsfield and excludesfield ( #424 )
...
* Add baked in validators for containsfield and excludesfield
* Add ContainsAndExcludes test
* Add NotEqual tests before AssertError
* Add tests for missing fields
* containsfield -> fieldcontains, excludesfield -> fieldexcludes
6 years ago
Takeshi Akima
9af2aa2cc3
Fixes Japanese translation ( #433 )
...
* Use ja locale instead of en in ja_test.go
* Comment out calling ut.AddCardinal with locales.PluralRuleOne
because cardinal plural rule 'One' does not exist for locale 'ja'.
6 years ago
Dean Karn
0277b12d53
Update README.md
6 years ago
Dean Karn
bc745fba53
Merge pull request #430 from akm/japanese_translation
...
Add Japanese translation
6 years ago
Dean Karn
35d48effb5
Merge pull request #419 from holyspectral/unique_translation
...
Add English translation for "unique" validation.
6 years ago
Dean Karn
df119a3494
Merge pull request #427 from AGPDev/v9
...
fix import avoid wrong type when apply custom translates.
6 years ago
Dean Karn
c7005d73ef
Merge pull request #429 from leodido/feat/is-urn
...
URN (RFC 2141) validation
6 years ago
akm
578166faf7
Implement translation of ne-items
6 years ago
akm
37128de86f
Add japanese translation
6 years ago
Leonardo Di Donato
2bb313f957
Docs: Update URN RFC2141 documentation
...
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
6 years ago
Leonardo Di Donato
0482874b86
Update: Rename urn tag into urn_rfc2141
...
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
6 years ago
Leonardo Di Donato
c5423e4116
New: URN
...
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
6 years ago
Anderson Guilherme Porto
20357ae332
fix import avoid wrong type when apply custom translates.
6 years ago
Dean Karn
6079fcc186
Merge pull request #423 from mitsuyoshi4/v9
...
fixed typo
6 years ago
満行芳樹
aaf2c06dbe
fixed typo
6 years ago
Sam Wang
df107f0184
Add English translation for "unique" validation.
6 years ago
Dean Karn
1fa3c8d633
fix indonesian translation test
6 years ago
Dean Karn
9c187c39d8
Merge pull request #414 from sulthonzh/v9
...
Add Indonesian translations
6 years ago
Dean Karn
1730262625
Merge pull request #413 from suekto-andreas/v9
...
Fix #352 Returns error when passing pointer to RegisterStructValidation
6 years ago
andreas
8ed00e2e12
Change behavior instead of error, we Indirect it to get the non-pointer value
6 years ago
andreas
9eeca29136
detail error message on RegisterStructValidationCtx finding pointer arg
6 years ago
Sulthon Zainul Habib
38f9a73e57
Add Indonesian translations
6 years ago
andreas
5b14fca011
Returns error when passing pointer to RegisterStructValidation
6 years ago
Dean Karn
3be3142400
Merge pull request #408 from kanozec/v9
...
Add Chinese(zh-tw) translations
6 years ago
Dean Karn
9f802bbd9b
Merge pull request #406 from frou/doc-registertagnamefunc
...
Document RegisterTagNameFunc more
6 years ago
kanozec
532cde1085
Add Chinese(zh-tw) translations
6 years ago
Duncan Holm
29b73202fe
Document RegisterTagNameFunc more
6 years ago
Dean Karn
f8af4b15db
Merge pull request #404 from 44px/patch-1
...
Fix FieldError doc
6 years ago
Alexander Shepelin
868936b862
Fix FieldError doc
6 years ago
Dean Karn
16a72ff827
Merge pull request #388 from sakura1116vg/fix-doc
...
fix doc
6 years ago
sakura1116vg
9c31c8d387
fix doc
6 years ago
Dean Karn
e69e9a28bb
Update README.md
6 years ago
Dean Karn
4c0b0c3d27
Merge pull request #387 from wesselvanderlinden/v9
...
Add dutch translations
6 years ago
wessel.linden@gmail.com
1ae2003487
Add dutch translations
6 years ago
Dean Karn
ab2a8a9908
Update README.md
6 years ago
Dean Karn
e4e19c02df
Merge pull request #381 from foolin/v9
...
fix package name
6 years ago
foolin
a2ec0a8018
fix package name
6 years ago
Dean Karn
e055f4eb7f
Update README.md
6 years ago
Dean Karn
29f025ab2f
Merge pull request #380 from qdentity/struct-filtered-ctx-fix
...
Fix unused ctx in StructFilteredCtx
6 years ago
Damir Vandic
bdae516532
Fix unused ctx in StructFilteredCtx
6 years ago
Dean Karn
d942191d51
Update README.md
6 years ago
Dean Karn
5d3224279f
Merge pull request #379 from foolin/v9
...
add chinese language for translations
6 years ago
foolin
11caf00975
Merge branch 'v9' of https://github.com/go-playground/validator into v9
6 years ago
Foolin
d1a82a6cdc
add chinese translations
6 years ago
Foolin
801b2c40bc
update
6 years ago
Foolin
83b055d6df
add chinese lang
6 years ago
Dean Karn
ce9336f6e2
Update README.md
6 years ago