diff options
-rw-r--r-- | core_test.go | 3 | ||||
-rwxr-xr-x | script/build | 4 | ||||
-rwxr-xr-x | script/test | 3 |
3 files changed, 1 insertions, 9 deletions
diff --git a/core_test.go b/core_test.go index d0b17e9..2438b98 100644 --- a/core_test.go +++ b/core_test.go @@ -1,7 +1,6 @@ package sleepy import ( - "github.com/dougblack/sleepy" "io/ioutil" "net/http" "net/url" @@ -20,7 +19,7 @@ func TestBasicGet(t *testing.T) { item := new(Item) - var api = sleepy.NewAPI() + var api = NewAPI() api.AddResource(item, "/items", "/bar", "/baz") go api.Start(3000) resp, err := http.Get("http://localhost:3000/items") diff --git a/script/build b/script/build deleted file mode 100755 index 980a1a2..0000000 --- a/script/build +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -go get -d -v ./... -go build -v ./... diff --git a/script/test b/script/test deleted file mode 100755 index ff2d632..0000000 --- a/script/test +++ /dev/null @@ -1,3 +0,0 @@ -script/build -go fmt ./... -go test -v ./... |