1
0
mirror of https://github.com/labstack/echo.git synced 2024-12-24 20:14:31 +02:00

Update README.md

This commit is contained in:
Vishal Rana 2015-03-30 21:07:55 -07:00
parent ccec2b8640
commit 0acb268603

View File

@ -57,7 +57,7 @@ func createUser(c *echo.Context) {
u := new(user)
if c.Bind(u) {
users[u.ID] = *u
c.JSON(http.StatusOK, u)
c.JSON(http.StatusCreated, u)
}
}
@ -107,6 +107,7 @@ func main() {
// Start server
e.Run(":8080")
}
```
### Benchmark