diff options
author | Karan Misra <kidoman@gmail.com> | 2014-01-27 10:54:05 +0530 |
---|---|---|
committer | Karan Misra <kidoman@gmail.com> | 2014-01-27 10:54:05 +0530 |
commit | da9d8e922d0198a324af1f1b6df97d3e1d5938aa (patch) | |
tree | 37c8a313dd61e608f453a73073e434774d47fe73 /tests/test.go | |
parent | fix signature (diff) | |
download | sleepy-da9d8e922d0198a324af1f1b6df97d3e1d5938aa.tar.gz sleepy-da9d8e922d0198a324af1f1b6df97d3e1d5938aa.tar.bz2 sleepy-da9d8e922d0198a324af1f1b6df97d3e1d5938aa.zip |
remove the need to provide “missing/unsupported” implementations in the
API consumers. also:
- more idiomatic
- loosely coupled with the API contract
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 070d4b6..8ccbfbd 100644 --- a/tests/test.go +++ b/tests/test.go @@ -2,13 +2,11 @@ package main import ( "net/url" - "sleepy" + + "github.com/dougblack/sleepy" ) type Bar struct { - sleepy.PostNotSupported - sleepy.PutNotSupported - sleepy.DeleteNotSupported } func (b Bar) Get(values url.Values) (int, interface{}) { |