Fixing typo in Form parameters example

This commit is contained in:
Ray Rodriguez 2015-02-07 23:07:06 -05:00
parent b1758d3bfa
commit 0b80e09204

View File

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