From 7eb58afab34a368220d0a7ecbbc9c74e983d6c0b Mon Sep 17 00:00:00 2001 From: janik-mac Date: Thu, 22 Feb 2024 11:15:36 -0500 Subject: [PATCH] fixed example tag ordering --- doc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc.go b/doc.go index edbc3fe0..98e817d6 100644 --- a/doc.go +++ b/doc.go @@ -260,7 +260,7 @@ Example: // Validates that the field "V" of "MyStruct.Field" is greater than 10 when "Field" is valid type MyStruct struct { - Field sql.Null[uint] `validate:"select=omitempty,V,gt=10"` + Field sql.Null[uint] `validate:"omitempty,select=V,gt=10"` } # Required