refactor: update import path.
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
package boltdb
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
c "github.com/appleboy/gorush/config"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestBoltDBEngine(t *testing.T) {
|
||||
|
||||
@@ -2,9 +2,10 @@ package buntdb
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"strconv"
|
||||
|
||||
"github.com/appleboy/gorush/config"
|
||||
"github.com/tidwall/buntdb"
|
||||
"strconv"
|
||||
)
|
||||
|
||||
// Stat variable for redis
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
package buntdb
|
||||
|
||||
import (
|
||||
c "github.com/appleboy/gorush/config"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"os"
|
||||
"testing"
|
||||
|
||||
c "github.com/appleboy/gorush/config"
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
func TestBuntDBEngine(t *testing.T) {
|
||||
|
||||
@@ -2,9 +2,10 @@ package leveldb
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"strconv"
|
||||
|
||||
"github.com/appleboy/gorush/config"
|
||||
"github.com/syndtr/goleveldb/leveldb"
|
||||
"strconv"
|
||||
)
|
||||
|
||||
// Stat variable for redis
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
package leveldb
|
||||
|
||||
import (
|
||||
c "github.com/appleboy/gorush/config"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"os"
|
||||
"testing"
|
||||
|
||||
c "github.com/appleboy/gorush/config"
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
func TestLevelDBEngine(t *testing.T) {
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
package memory
|
||||
|
||||
import (
|
||||
"github.com/stretchr/testify/assert"
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
func TestMemoryEngine(t *testing.T) {
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
package redis
|
||||
|
||||
import (
|
||||
"github.com/appleboy/gorush/config"
|
||||
"gopkg.in/redis.v5"
|
||||
"log"
|
||||
"strconv"
|
||||
|
||||
"github.com/appleboy/gorush/config"
|
||||
"gopkg.in/redis.v5"
|
||||
)
|
||||
|
||||
// Stat variable for redis
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
package redis
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
c "github.com/appleboy/gorush/config"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestRedisServerError(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user