From a5ba572a4e565b7c8c843f89d23f13fa3705f0de Mon Sep 17 00:00:00 2001
From: Jan Semmelink <jan@uafrica.com>
Date: Tue, 19 Oct 2021 07:38:51 +0000
Subject: [PATCH] Update README.md

---
 service/README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/service/README.md b/service/README.md
index 5e40cc4..ce8c48c 100644
--- a/service/README.md
+++ b/service/README.md
@@ -97,7 +97,7 @@ Struct types used for input params/body must be structs with public fields and j
         Name   string `json:"name"`
     }
 
-The struct type is never marshaled to JSON by the framework, so omitempty has no effect.
+The struct type is not marshaled to JSON by the framework, but is marshalled to a map that represents query params. The json omitempty decorator is then used to marshal or omit when not defined, and that may control behavior. One must include omitempty when absence/presence of an attribute is significant.
 
 Pointers may be used for optional items, or you may treat a zero value to indicate absence.
 
-- 
GitLab