From 9eaba78ab66bcd3e9edefe68103b242418311bb7 Mon Sep 17 00:00:00 2001 From: Hannes <108765386+Hannes-tallied@users.noreply.github.com> Date: Mon, 13 Feb 2023 16:17:23 -0800 Subject: [PATCH] stop execution in example --- docs/doc.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/doc.md b/docs/doc.md index 7cebab56..fcbcaef5 100644 --- a/docs/doc.md +++ b/docs/doc.md @@ -885,6 +885,7 @@ func main() { if err := c.ShouldBindHeader(&h); err != nil { c.JSON(http.StatusOK, err) + return } fmt.Printf("%#v\n", h)