From e524b7352468da1b788c3cdbd680ff7d1055b2f1 Mon Sep 17 00:00:00 2001 From: Jongmin Kim Date: Mon, 29 Jan 2024 02:28:47 +0900 Subject: [PATCH] Fix default value to false in docs of QueryBool (#2811) fix default value to false in docs of QueryBool --- ctx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctx.go b/ctx.go index 55b81cf2ee..596268e9fe 100644 --- a/ctx.go +++ b/ctx.go @@ -1222,7 +1222,7 @@ func (c *Ctx) QueryInt(key string, defaultValue ...int) int { } // QueryBool returns bool value of key string parameter in the url. -// Default to empty or invalid key is true. +// Default to empty or invalid key is false. // // Get /?name=alex&want_pizza=false&id= // QueryBool("want_pizza") == false