Skip to content

Commit

Permalink
Fixed typo in README.md since echo.Context has no field or method For…
Browse files Browse the repository at this point in the history
…mParam
  • Loading branch information
roth1002 committed Apr 20, 2016
1 parent 1d47a6c commit 78fe386
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ email | [email protected]
func save(c echo.Context) error {
// Get name and email
name := c.FormValue("name")
email := c.FormParam("email")
email := c.FormValue("email")
}
```

Expand All @@ -137,7 +137,7 @@ avatar | avatar
func save(c echo.Context) error {
// Get name and email
name := c.FormValue("name")
email := c.FormParam("email")
email := c.FormValue("email")
// Get avatar
avatar, err := c.FormFile("avatar")
if err != nil {
Expand Down

0 comments on commit 78fe386

Please sign in to comment.