update readme to /v2

This commit is contained in:
Karl Seguin 2020-06-29 20:50:55 +08:00
parent 937ca294e6
commit eab9dbaa7f

View file

@ -14,7 +14,7 @@ Unless otherwise stated, all methods are thread-safe.
First, download the project: First, download the project:
```go ```go
go get github.com/karlseguin/ccache go get github.com/karlseguin/ccache/v2
``` ```
## Configuration ## Configuration
@ -23,7 +23,7 @@ Next, import and create a `Cache` instance:
```go ```go
import ( import (
"github.com/karlseguin/ccache" "github.com/karlseguin/ccache/v2"
) )
var cache = ccache.New(ccache.Configure()) var cache = ccache.New(ccache.Configure())