diff --git a/Makefile b/Makefile index 5c541cb..398a878 100644 --- a/Makefile +++ b/Makefile @@ -15,13 +15,13 @@ test: memory_test redis_test boltdb_test cd gorush && go test -cover -v -coverprofile=coverage.out memory_test: - cd gorush/storage/memory && go test -v -cover *.go + cd storage/memory && go test -v -cover *.go redis_test: - cd gorush/storage/redis && go test -v -cover *.go + cd storage/redis && go test -v -cover *.go boltdb_test: - cd gorush/storage/boltdb && go test -v -cover *.go + cd storage/boltdb && go test -v -cover *.go html: test cd gorush && go tool cover -html=coverage.out diff --git a/gorush/status.go b/gorush/status.go index 724c2b4..1ca3cfd 100644 --- a/gorush/status.go +++ b/gorush/status.go @@ -1,9 +1,9 @@ package gorush import ( - "github.com/appleboy/gorush/gorush/storage/boltdb" - "github.com/appleboy/gorush/gorush/storage/memory" - "github.com/appleboy/gorush/gorush/storage/redis" + "github.com/appleboy/gorush/storage/boltdb" + "github.com/appleboy/gorush/storage/memory" + "github.com/appleboy/gorush/storage/redis" "github.com/gin-gonic/gin" "net/http" )