Wachiu Siu
30637bbbe5
feat: base58 support
2 years ago
alessmar
dd2857a4cb
Credit card validation ( #924 )
3 years ago
Jacob Hochstetler
c0195b2b40
added excluded_if/excluded_unless tags + tests ( #847 )
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
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
steveorourke
e40bece342
Add support for jwt validation ( #783 )
3 years ago
Oleksii Kulikov
c2066206fe
Add BIC ISO format validator ( #758 )
4 years ago
Josh Slate
add373fff7
feat: add bcp 47 language tag validator ( #730 )
4 years ago
krhubert
f32fea830e
Add country code validation ( #615 )
4 years ago
Elias Rodrigues
4407f4dea0
Add checksum validation for Ethereum address ( #630 )
4 years ago
hzw
44a150f359
add required_if and required_unless
4 years ago
math-nao
7dbe685a02
Update timeZone tag name to timezone
4 years ago
Elias Rodrigues
fc1b28803a
Update docs for baked-in time.Duration supported tags
4 years ago
math-nao
44f3347f13
Add support for time zone validation
4 years ago
Taylor
07a4b7aa38
Add wiki link for E.164
4 years ago
Taylor
0bfda52ce1
Add e164 to doc.go
4 years ago
John Bailon
198646cbd1
Add number validator in documentation
5 years ago
John Bailon
7807a1f36f
Add number validator in documentation
5 years ago
Milan Divkovic
f3b347cc29
Add validators that check if string does not start/end with supplied parameter
5 years ago
Pantelis Sampaziotis
14f963703b
Add datetime validation
5 years ago
Pantelis Sampaziotis
2109f86248
Update documenation
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
Ravi Terala
a1ac82a865
Add documentation
5 years ago
Shi Han NG
e73ec5f5ab
Update doc for unique=field
5 years ago
Jean-Philippe Moal
703c0b681a
Rework the non standard validators documentation
5 years ago
Jonathan Thom
432c17028a
Adds ability to validate oneof for space separated strings
...
Fixes Or Enhances https://github.com/go-playground/validator/issues/525 .
**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:
* Adds the ability to match on space separated strings when using the
`oneof` validation. Space separted strings must be surrounded by single
quotes to be validated as one string. For example:
```
oneof='Awaiting Verification' 'Verified' 'Failed Verification'
```
passes validation for a field that is exactly `Failed Verification`
(though just `Failed` would...fail).
@go-playground/admins
5 years ago
Dean Karn
dbbe6958b3
update doc v9 url to v10
5 years ago
A Mashmooli
22eebe9ac5
add required_without_all to doc
6 years ago
A Mashmooli
a9e1a9226c
add required_without to doc
6 years ago
A Mashmooli
678f8d753f
add required_with_all to doc
6 years ago
A Mashmooli
5a98da4e8c
add required_with to doc
6 years ago
Alex Bilbie
ab7e4092fb
Grammar fix
6 years ago
Alex Bilbie
a918b74270
Updated doc.go with uuid_rfc4122 examples
6 years ago
Tyler Cipriani
3945da16ee
Add `startswith` and `endswith` validators
...
`HasPrefix` and `HasSuffix` are both part of the `strings` package.
These seem like generally useful validations to include and cover some
subset of the use-cases of a general regex validator without having any
of the problems outlined by the validator docs.
6 years ago
Andrei Avram
f2ac4efd57
Update non standard validation docs.
6 years ago
Andrei Avram
1d286c8332
Define NotBlank as non standard validator.
6 years ago
Andrei Avram
faaace938d
Add documentation.
6 years ago
Abdallah Galal
94ba218708
Add validation for directories
6 years ago
Esslam
891b7807f8
Fixed Typos
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
Leonardo Di Donato
2bb313f957
Docs: Update URN RFC2141 documentation
...
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
満行芳樹
aaf2c06dbe
fixed typo
6 years ago
sakura1116vg
9c31c8d387
fix doc
6 years ago
heatwole
0a9b75fbfd
Adding html and url encoding and updating docs
6 years ago