aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index a5094bf..19e2b32 100644
--- a/README.md
+++ b/README.md
@@ -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)
}
bgstack15