update readme to /v2
This commit is contained in:
parent
937ca294e6
commit
eab9dbaa7f
1 changed files with 2 additions and 2 deletions
|
@ -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())
|
||||||
|
|
Loading…
Reference in a new issue