Merge pull request #212 from rayrod2030/fix-readme-example

Fix typo in form/parameters README.md example
This commit is contained in:
Javier Provecho Fernandez 2015-02-10 09:42:53 +01:00
commit db5d1b8ae7

View File

@ -155,7 +155,7 @@ func main() {
c.Request.ParseForm() c.Request.ParseForm()
firstname := c.Request.Form.Get("firstname") firstname := c.Request.Form.Get("firstname")
lastname := c.Request.Form.get("lastname") lastname := c.Request.Form.Get("lastname")
message := "Hello "+ firstname + lastname message := "Hello "+ firstname + lastname
c.String(200, message) c.String(200, message)