From 334b111b7a7baf6ab82d02d1f6b280ebe92cd1af Mon Sep 17 00:00:00 2001 From: aoright <102943475+aoright@users.noreply.github.com> Date: Thu, 20 Aug 2026 14:47:22 +0800 Subject: [PATCH] docs: fix punctuation in doc comments Signed-off-by: aoright <102943475+aoright@users.noreply.github.com> --- query/encode.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/query/encode.go b/query/encode.go index 3b058bb..ffb2097 100644 --- a/query/encode.go +++ b/query/encode.go @@ -49,7 +49,7 @@ type Encoder interface { // - the field's tag is "-", or // - the field is empty and its tag specifies the "omitempty" option // -// The empty values are false, 0, any nil pointer or interface value, any array +// The empty values are false, 0, any nil pointer or interface value, any array, // slice, map, or string of length zero, and any type (such as time.Time) that // returns true for IsZero(). // @@ -65,7 +65,7 @@ type Encoder interface { // Field int `url:"myName"` // // // Field appears as URL parameter "myName" and the field is omitted if -// // its value is empty +// // its value is empty. // Field int `url:"myName,omitempty"` // // // Field appears as URL parameter "Field" (the default), but the field