Commit Graph

259 Commits (96d7f70a71f9deb73ad264e77f5efcfe58d4514e)

Author SHA1 Message Date
Dean Karn 3bb4866602
Github Actions Changeover (#679) 4 years ago
Dean Karn 456221b630
Fix time.Duration parsing for int param (#678) 4 years ago
krhubert f32fea830e
Add country code validation (#615) 4 years ago
Brandon Lee 704a814277
accept 0x(0X) start in 'hexadecimal' tag (#620) 4 years ago
Elias Rodrigues 4407f4dea0
Add checksum validation for Ethereum address (#630) 4 years ago
root 490e253792 Closes #660 added excluded with and without tests 4 years ago
hzw 44a150f359 add required_if and required_unless 4 years ago
nigelis 6f81b7d8d0 Validate tag omitempty, only base on field value 4 years ago
math-nao 7dbe685a02 Update timeZone tag name to timezone 4 years ago
Long Bui 67c4fdf0de Make unique tag work with pointer fields. 4 years ago
Elias Rodrigues 33ffa4a31f Move var declarations to the top in test functions 4 years ago
Elias Rodrigues 55e0f418d6 Minor edits 4 years ago
Elias Rodrigues 04749bc4d4 Fix golangci-lint issues 4 years ago
Elias Rodrigues f525f0b64f Add tests for baked-in time.Duration supported tags 4 years ago
math-nao 44f3347f13 Add support for time zone validation 4 years ago
Giuliano Scaglioni ee37674003 add breaking test 5 years ago
amiraliucsc c7dc8812a2 Add more tests 5 years ago
amiraliucsc 1611f1e72c Add test regarding multiple dots in hostname 5 years ago
Pantelis Sampaziotis 14f963703b Add datetime validation 5 years ago
Pantelis Sampaziotis 9e58bcdee1 Empty strings are not lowercase or uppercase 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 893747e5ee Add hostname_port validator feature 5 years ago
Dean Karn c2546fb355 Add test + docs for FieldLevel.GetTag 5 years ago
Shi Han NG 8f604265e0 Implement unique=FieldName 5 years ago
Taylor e7c70798c9 Add e.164 support 5 years ago
Jonathan Thom bb5fd36827
Improves accuracy of datauri regex 5 years ago
Dmitry M. Gavrovsky d149847e8a test case for “eq” comparing boolean values #547 5 years ago
Dean Karn c0f05c7b3d fix required_* 5 years ago
Jonathan Thom 432c17028a
Adds ability to validate oneof for space separated strings 5 years ago
Dean Karn 7e57ca0cf5 convert to go modules 5 years ago
Dean Karn 9593a0f77e add test for new nil validation 5 years ago
Dean Karn 06f92248de linting cleanup 5 years ago
Dean Karn 6484d9f2fb fix required_with_* 5 years ago
Dean Karn cc25246f01 fix required_without_* 5 years ago
Zuyang Kou 54db112759 Make `required_without` work with pointer 6 years ago
criherna 9dedb06449 fix hostname regex 6 years ago
A Mashmooli d89801fc29 fix required_* test 6 years ago
A Mashmooli de92ea70b4 fix required_* test 6 years ago
A Mashmooli 3ec10f9949 add required_without_all validator 6 years ago
A Mashmooli 03bfd38cc1 add required_without validator 6 years ago
A Mashmooli ebfddc5784 add required_with_all validator 6 years ago
A Mashmooli adbd5e9b33 add required_with validator 6 years ago
Ben Paxton 9099388d96 Fix email regex 6 years ago
Tyler Cipriani 3945da16ee Add `startswith` and `endswith` validators 6 years ago
Andrei Avram 1d286c8332 Define NotBlank as non standard validator. 6 years ago
Andrei Avram 6b29637aaa Add NotBlank validation function. 6 years ago
Abdallah Galal 94ba218708 Add validation for directories 6 years ago
Ramy Aboul Naga d1d2da5f73 Fix typo in isLongitude test 6 years ago
Ramy Aboul Naga cbd5cf6393 Use type switch in favor of fmt.Sprint 6 years ago