forked from labstack/echo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request labstack#478 from roth1002/master
Fixed typo in README.md since echo.Context has no field or method For…
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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") | ||
} | ||
``` | ||
|
||
|
@@ -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 { | ||
|