diff --git a/URL-query-parameters.md b/URL-query-parameters.md index ef1cbb8..b12823a 100644 --- a/URL-query-parameters.md +++ b/URL-query-parameters.md @@ -1,11 +1,11 @@ -The Iris Context has two methods that returns the `net/http` standard `http.ResponseWriter` and `http.Request` as we mention in the previous chapters. +The Iris Context has two methods that return the `net/http` standard `http.ResponseWriter` and `http.Request` values as we already mention at the previous chapters. - `Context.Request()` - `Context.ResponseWriter()` -However except the unique Iris features and helpers that Iris Context offers, for easier development, we provide some wrappers of existing `net/http` capabilities as well. +However, except the unique Iris features and helpers that Iris Context offers, for easier development, we provide some wrappers of existing `net/http` capabilities as well. -This is the full list of methods that can help you with URL query string. +This is the full list of methods that can help you when working with URL query string. ```go // URLParam returns true if the url parameter exists, otherwise false. @@ -15,7 +15,8 @@ URLParamExists(name string) bool URLParamDefault(name string, def string) string // URLParam returns the get parameter from a request, if any. 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 returns the escaped url query parameter from a request. URLParamEscape(name string) string