diff options
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -24,7 +24,7 @@ func (item Item) Get(values url.Values) (int, interface{}) { func main() { item := new(Item) - var api = new(sleepy.Api) + var api = sleepy.NewAPI() api.AddResource(item, "/items") api.Start(3000) } |