Eduardo Mello
b43d437012
feat: ✨ add cve validator ( #983 )
2 years ago
konstantin
ae3e728763
Introduce Luhn Checksum Validation ( #1009 )
2 years ago
brent s
2e43671001
(New validator) Validate non-existing but valid file/directory paths ( #1022 )
2 years ago
just Alan
f560fd4e07
Feat: support mongodb objectID validation ( #1023 )
...
Co-authored-by: Dean Karn <Dean.Karn@gmail.com>
2 years ago
Yasoob Haider
29d50ba963
add validation for base64 url without = padding ( #1024 )
...
Co-authored-by: Yasoob Haider <yasoob.haider@zomato.com>
Co-authored-by: Dean Karn <Dean.Karn@gmail.com>
2 years ago
Alberto Forcato
3ee65f8c59
Add cron support ( #1045 )
2 years ago
Phil Porada
c0b3430b1f
Fix spelling error in doc ( #1078 )
2 years ago
Fanan Dala
bc7329ef0f
feat: add image validation
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