rename package name & fix bug

This commit is contained in:
jianzhiyao
2022-04-27 23:05:08 +08:00
parent 6fffb3196f
commit 978b7e4a9d
91 changed files with 231 additions and 251 deletions

View File

@@ -20,8 +20,8 @@
//
// Usage:
// import(
// _ "github.com/astaxie/beego/cache/memcache"
// "github.com/astaxie/beego/cache"
// _ "github.com/beego/beego/cache/memcache"
// "github.com/beego/beego/cache"
// )
//
// bm, err := cache.NewCache("memcache", `{"conn":"127.0.0.1:11211"}`)
@@ -35,7 +35,7 @@ import (
"strings"
"time"
"github.com/astaxie/beego/cache"
"github.com/beego/beego/cache"
"github.com/bradfitz/gomemcache/memcache"
)

View File

@@ -21,7 +21,7 @@ import (
"testing"
"time"
"github.com/astaxie/beego/cache"
"github.com/beego/beego/cache"
)
func TestMemcacheCache(t *testing.T) {