From c01165e6054b44ce4ab3438921f12a4ca9c0c733 Mon Sep 17 00:00:00 2001 From: TomRomeo <60541979+TomRomeo@users.noreply.github.com> Date: Sat, 16 Apr 2022 21:32:25 +0200 Subject: [PATCH] :pencil2: Typo fix in ParamsInt() (#1863) --- ctx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctx.go b/ctx.go index 5bfa7125a7..4b54a8c334 100644 --- a/ctx.go +++ b/ctx.go @@ -847,7 +847,7 @@ func (c *Ctx) AllParams() map[string]string { // ParamsInt is used to get an integer from the route parameters // it defaults to zero if the parameter is not found or if the // parameter cannot be converted to an integer -// If a default value is given, it will returb that value in case the param +// If a default value is given, it will return that value in case the param // doesn't exist or cannot be converted to an integrer func (c *Ctx) ParamsInt(key string, defaultValue ...int) (int, error) { // Use Atoi to convert the param to an int or return zero and an error