Update README.md

This commit is contained in:
Justin Beckwith 2015-05-25 21:19:02 -07:00
parent f8d34ac8b6
commit 8d812a2097
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ func main() {
func main() { func main() {
r := gin.Default() r := gin.Default()
// Query string parameters are parsed used the existing underlying request object. // Query string parameters are parsed using the existing underlying request object.
// The request responds to a url matching: /search?firstname=Jane&lastname=Doe // The request responds to a url matching: /search?firstname=Jane&lastname=Doe
r.GET("/search", func(c *gin.Context) { r.GET("/search", func(c *gin.Context) {
firstname := c.Request.URL.Query().Get("firstname") firstname := c.Request.URL.Query().Get("firstname")