Fixed #77 Move storage plugin to top folder.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
42d74b2747
commit
ef8e4daa1a
6
Makefile
6
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
|
||||
|
|
|
@ -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"
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue