aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/items.go4
-rw-r--r--tests/test.go4
2 files changed, 2 insertions, 6 deletions
diff --git a/tests/items.go b/tests/items.go
index d39cae9..978b052 100644
--- a/tests/items.go
+++ b/tests/items.go
@@ -6,9 +6,7 @@ import (
)
type Item struct {
- sleepy.PostNotSupported
- sleepy.PutNotSupported
- sleepy.DeleteNotSupported
+ sleepy.BaseResource
}
func (item Item) Get(values url.Values) (int, interface{}) {
diff --git a/tests/test.go b/tests/test.go
index 070d4b6..d3f414c 100644
--- a/tests/test.go
+++ b/tests/test.go
@@ -6,9 +6,7 @@ import (
)
type Bar struct {
- sleepy.PostNotSupported
- sleepy.PutNotSupported
- sleepy.DeleteNotSupported
+ sleepy.BaseResource
}
func (b Bar) Get(values url.Values) (int, interface{}) {
bgstack15