Fixing typo in Form parameters example
This commit is contained in:
parent
b1758d3bfa
commit
0b80e09204
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user