Fixed typo in comment

URLParamTrim returns the escaped... -> URLParamEscape returns the escaped...

Former-commit-id: e5d50d81c30e7df6e01a6136327543b4e1df11cb
This commit is contained in:
Suika 2019-08-15 14:23:32 +08:00 committed by GitHub
parent e0af8ab29a
commit 7d43dd1363

View File

@ -410,7 +410,7 @@ type Context interface {
URLParam(name string) string URLParam(name string) string
// URLParamTrim returns the url query parameter with trailing white spaces removed from a request. // URLParamTrim returns the url query parameter with trailing white spaces removed from a request.
URLParamTrim(name string) string 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 URLParamEscape(name string) string
// URLParamInt returns the url query parameter as int value from a request, // URLParamInt returns the url query parameter as int value from a request,
// returns -1 and an error if parse failed. // returns -1 and an error if parse failed.