From ef8e4daa1adce21b6ff366bbc3914dd07f30224b Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Tue, 3 May 2016 10:26:13 +0800 Subject: [PATCH] Fixed #77 Move storage plugin to top folder. Signed-off-by: Bo-Yi Wu --- Makefile | 6 +++--- gorush/status.go | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) 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" )