From 061c2a9e129a41bafb9617ecbb491f5c12bcf156 Mon Sep 17 00:00:00 2001 From: Artem Avanesov Date: Tue, 24 May 2022 04:05:55 +0400 Subject: [PATCH] fix typo for paramsInt function (#1913) --- ctx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctx.go b/ctx.go index 9cc5a52e3b..0cc1b5a7f9 100644 --- a/ctx.go +++ b/ctx.go @@ -858,7 +858,7 @@ func (c *Ctx) AllParams() map[string]string { // 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 return that value in case the param -// doesn't exist or cannot be converted to an integrer +// doesn't exist or cannot be converted to an integer 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 value, err := strconv.Atoi(c.Params(key))