Commit Graph

214 Commits (8e998f7f22b09f99ed5a4c107c3fbe0827c71516)

Author SHA1 Message Date
Dean Karn 8e998f7f22 update linter and make fixes 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
Rohan Sathe 76020d061e Fixes #26 (#437) 6 years ago
Ramy Aboul Naga 52ea448998 Allow latitude/longitude validation for numeric values 6 years ago
franklin 91d81934ab Add baked in validators for containsfield and excludesfield (#424) 6 years ago
Leonardo Di Donato 0482874b86
Update: Rename urn tag into urn_rfc2141 6 years ago
Leonardo Di Donato c5423e4116
New: URN 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
andreas 5b14fca011 Returns error when passing pointer to RegisterStructValidation 6 years ago
heatwole 0a9b75fbfd Adding html and url encoding and updating docs 6 years ago
Noi Bar f2fdb60d7d Add file path validation 7 years ago
Dean Karn ffe836d736 Expanded numeric & number validations 7 years ago
Joachim Adomeit 379fb67047 Fix for Email - Hostname is not validated correctly #359 7 years ago
Dean Karn 54da7fa48f fix linting and spelling errors 7 years ago
James Service 8ae3903dd3 Extend the unique tag to also cover map values. 7 years ago
josh 073682ea75 added in more test cases and removed some redundant validation steps 7 years ago
josh ce6284a6fc confirm only all upper or all lower case address are valid 7 years ago
josh 6deddf27eb proper bech32 address validation 7 years ago
josh 3df85bdcfc p2sh validation and more tests 7 years ago
josh 60417282a4 verifies p2pkh addresses 7 years ago
josh 36d83b0b83 Added in validation function, tests, and docs 7 years ago
Kyriakos Georgiou 030800a855 Add validation for base64 URL safe values 7 years ago
Russ Egan 15217303f9 Add oneof validation 7 years ago
Dean Karn 5e036656b8 Add hostname_rfc1123 validation 7 years ago
Dean Karn b1f51f36f1
Correct consequtive or logic (#330) 7 years ago
Dean Karn 61caf9d303
add map key validation support (#324) 7 years ago
Dean Karn 11a1fab51d Add unique validation 7 years ago
Dean Karn f16354ec03 Add isdefault + fix fqdn 7 years ago
Dean Karn 0d09605a05 100% test coverage 7 years ago
Dean Karn 0b5dc7605b Add isdefault validation 7 years ago
Bruno Lorenz 1669b6e0ee Fixed "Assignment Branch Condition too high" 7 years ago
Bruno Lorenz 08796346a0 Append new validations 7 years ago
Dean Karn 0f6f568263 Add contextual validation support via context.Context (#296) 7 years ago
Dean Karn fb68f39656 Add Access to Field Name from FieldLevel (#284) 8 years ago
Dean Karn 4bd1935852 Updated README 8 years ago