aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorDoug Black <dblack@twilio.com>2014-01-27 11:45:12 -0500
committerDoug Black <dblack@twilio.com>2014-01-27 11:45:12 -0500
commit42f1598a4cdd8ebaf25bc3441620975689067581 (patch)
treed0e01a1d18dea81f72b013ac342c66cc329d763e /README.md
parentadd docs (diff)
downloadsleepy-42f1598a4cdd8ebaf25bc3441620975689067581.tar.gz
sleepy-42f1598a4cdd8ebaf25bc3441620975689067581.tar.bz2
sleepy-42f1598a4cdd8ebaf25bc3441620975689067581.zip
update README
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