aboutsummaryrefslogtreecommitdiff
path: root/tests/test.go
diff options
context:
space:
mode:
authorDoug Black <dblack@twilio.com>2014-01-27 10:48:55 -0500
committerDoug Black <dblack@twilio.com>2014-01-27 10:48:55 -0500
commitf0096b9bcb3824acfdc8b8bb729d51eb9d8d75e8 (patch)
treec06915262978dea1bb3a5898c5260373ea5d7823 /tests/test.go
parentuse ServeMux, capitalize API, clean tests (diff)
parentremove the need to provide “missing/unsupported” implementations in the (diff)
downloadsleepy-f0096b9bcb3824acfdc8b8bb729d51eb9d8d75e8.tar.gz
sleepy-f0096b9bcb3824acfdc8b8bb729d51eb9d8d75e8.tar.bz2
sleepy-f0096b9bcb3824acfdc8b8bb729d51eb9d8d75e8.zip
merge #6
Diffstat (limited to 'tests/test.go')
-rw-r--r--tests/test.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/test.go b/tests/test.go
index adff27a..b36cdb6 100644
--- a/tests/test.go
+++ b/tests/test.go
@@ -2,12 +2,10 @@ package main
import (
"net/url"
- "sleepy"
+ "github.com/dougblack/sleepy"
)
-type Item struct {
- sleepy.BaseResource
-}
+type Item struct {}
func (item Item) Get(values url.Values) (int, interface{}) {
items := []string{"item1", "item2"}
bgstack15