rename package name & fix bug
This commit is contained in:
6
cache/redis/redis.go
vendored
6
cache/redis/redis.go
vendored
@@ -20,8 +20,8 @@
|
||||
//
|
||||
// Usage:
|
||||
// import(
|
||||
// _ "github.com/astaxie/beego/cache/redis"
|
||||
// "github.com/astaxie/beego/cache"
|
||||
// _ "github.com/beego/beego/cache/redis"
|
||||
// "github.com/beego/beego/cache"
|
||||
// )
|
||||
//
|
||||
// bm, err := cache.NewCache("redis", `{"conn":"127.0.0.1:11211"}`)
|
||||
@@ -40,7 +40,7 @@ import (
|
||||
|
||||
"strings"
|
||||
|
||||
"github.com/astaxie/beego/cache"
|
||||
"github.com/beego/beego/cache"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
2
cache/redis/redis_test.go
vendored
2
cache/redis/redis_test.go
vendored
@@ -19,7 +19,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/astaxie/beego/cache"
|
||||
"github.com/beego/beego/cache"
|
||||
"github.com/gomodule/redigo/redis"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user