From 7d43dd1363ec5f153c6acc578e2d8aa84f8d140b Mon Sep 17 00:00:00 2001 From: Suika Date: Thu, 15 Aug 2019 14:23:32 +0800 Subject: [PATCH] Fixed typo in comment URLParamTrim returns the escaped... -> URLParamEscape returns the escaped... Former-commit-id: e5d50d81c30e7df6e01a6136327543b4e1df11cb --- context/context.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/context/context.go b/context/context.go index 46ba63c5..4691aa55 100644 --- a/context/context.go +++ b/context/context.go @@ -410,7 +410,7 @@ type Context interface { URLParam(name string) string // URLParamTrim returns the url query parameter with trailing white spaces removed from a request. URLParamTrim(name string) string - // URLParamTrim returns the escaped url query parameter from a request. + // URLParamEscape returns the escaped url query parameter from a request. URLParamEscape(name string) string // URLParamInt returns the url query parameter as int value from a request, // returns -1 and an error if parse failed.