rename to v2

This commit is contained in:
Ming Deng
2020-12-14 11:12:00 +08:00
parent a70f7fc920
commit 7bc6010604
241 changed files with 489 additions and 489 deletions

View File

@@ -4,7 +4,7 @@ cache is a Go cache manager. It can use many cache adapters. The repo is inspire
## How to install?
go get github.com/beego/beego/cache
go get github.com/beego/beego/v2/cache
## What adapters are supported?
@@ -17,7 +17,7 @@ As of now this cache support memory, Memcache and Redis.
First you must import it
import (
"github.com/beego/beego/cache"
"github.com/beego/beego/v2/cache"
)
Then init a Cache (example with memory adapter)