From bb0497193385933de72816bfc6d089b694de8229 Mon Sep 17 00:00:00 2001 From: marrow16 Date: Thu, 23 Jan 2025 20:37:01 +0000 Subject: [PATCH] Support for embedded structs in `ValidatorFor` --- README.md | 4 +-- .../custom_tag_tokens_test.go | 0 {examples => _examples}/polymorphic_test.go | 0 {examples => _examples}/tag_aliases_test.go | 0 validator_for.go | 18 +++++++--- validator_for_test.go | 34 +++++++++++++++++++ 6 files changed, 50 insertions(+), 6 deletions(-) rename {examples => _examples}/custom_tag_tokens_test.go (100%) rename {examples => _examples}/polymorphic_test.go (100%) rename {examples => _examples}/tag_aliases_test.go (100%) diff --git a/README.md b/README.md index cd0e75d..5267f72 100644 --- a/README.md +++ b/README.md @@ -1119,13 +1119,13 @@ the above will check the properties in order specified by their order: