diff options
author | Doug Black <dblack@twilio.com> | 2014-01-27 10:48:55 -0500 |
---|---|---|
committer | Doug Black <dblack@twilio.com> | 2014-01-27 10:48:55 -0500 |
commit | f0096b9bcb3824acfdc8b8bb729d51eb9d8d75e8 (patch) | |
tree | c06915262978dea1bb3a5898c5260373ea5d7823 /tests/test.go | |
parent | use ServeMux, capitalize API, clean tests (diff) | |
parent | remove the need to provide “missing/unsupported” implementations in the (diff) | |
download | sleepy-f0096b9bcb3824acfdc8b8bb729d51eb9d8d75e8.tar.gz sleepy-f0096b9bcb3824acfdc8b8bb729d51eb9d8d75e8.tar.bz2 sleepy-f0096b9bcb3824acfdc8b8bb729d51eb9d8d75e8.zip |
merge #6
Diffstat (limited to 'tests/test.go')
-rw-r--r-- | tests/test.go | 6 |
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"} |