mirror of
https://github.com/labstack/echo.git
synced 2024-11-24 08:22:21 +02:00
Fixed typo in README.md since echo.Context has no field or method FormParam
This commit is contained in:
parent
1d47a6cd30
commit
78fe386e40
@ -119,7 +119,7 @@ email | joe@labstack.com
|
||||
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 {
|
||||
|
Loading…
Reference in New Issue
Block a user