Merge pull request #212 from rayrod2030/fix-readme-example
Fix typo in form/parameters README.md example
This commit is contained in:
commit
db5d1b8ae7
@ -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