Update README.md

This commit is contained in:
Vishal Rana
2015-03-30 21:07:55 -07:00
parent ccec2b8640
commit 0acb268603
+2 -1
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