Fixed #77 Move storage plugin to top folder.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2016-05-03 10:26:13 +08:00
parent 42d74b2747
commit ef8e4daa1a
2 changed files with 6 additions and 6 deletions

View File

@ -15,13 +15,13 @@ test: memory_test redis_test boltdb_test
cd gorush && go test -cover -v -coverprofile=coverage.out cd gorush && go test -cover -v -coverprofile=coverage.out
memory_test: memory_test:
cd gorush/storage/memory && go test -v -cover *.go cd storage/memory && go test -v -cover *.go
redis_test: redis_test:
cd gorush/storage/redis && go test -v -cover *.go cd storage/redis && go test -v -cover *.go
boltdb_test: boltdb_test:
cd gorush/storage/boltdb && go test -v -cover *.go cd storage/boltdb && go test -v -cover *.go
html: test html: test
cd gorush && go tool cover -html=coverage.out cd gorush && go tool cover -html=coverage.out

View File

@ -1,9 +1,9 @@
package gorush package gorush
import ( import (
"github.com/appleboy/gorush/gorush/storage/boltdb" "github.com/appleboy/gorush/storage/boltdb"
"github.com/appleboy/gorush/gorush/storage/memory" "github.com/appleboy/gorush/storage/memory"
"github.com/appleboy/gorush/gorush/storage/redis" "github.com/appleboy/gorush/storage/redis"
"github.com/gin-gonic/gin" "github.com/gin-gonic/gin"
"net/http" "net/http"
) )