|
|
|
@ -5,21 +5,21 @@
|
|
|
|
|
📦 Golang 缓存组件
|
|
|
|
|
|
|
|
|
|
[comment]: <> (go)
|
|
|
|
|
[![godoc](https://pkg.go.dev/badge/github.com/dtapps/gocache?status.svg)](https://pkg.go.dev/github.com/dtapps/gocache)
|
|
|
|
|
[![goproxy.cn](https://goproxy.cn/stats/github.com/dtapps/gocache/badges/download-count.svg)](https://goproxy.cn/stats/github.com/dtapps/gocache)
|
|
|
|
|
[![goreportcard.com](https://goreportcard.com/badge/github.com/dtapps/gocache)](https://goreportcard.com/report/github.com/dtapps/gocache)
|
|
|
|
|
[![godoc](https://pkg.go.dev/badge/go.dtapp.net/gocache?status.svg)](https://pkg.go.dev/go.dtapp.net/gocache)
|
|
|
|
|
[![goproxy.cn](https://goproxy.cn/stats/go.dtapp.net/gocache/badges/download-count.svg)](https://goproxy.cn/stats/go.dtapp.net/gocache)
|
|
|
|
|
[![goreportcard.com](https://goreportcard.com/badge/go.dtapp.net/gocache)](https://goreportcard.com/report/go.dtapp.net/gocache)
|
|
|
|
|
[![deps.dev](https://img.shields.io/badge/deps-go-red.svg)](https://deps.dev/go/github.com%2Fdtapps%2Fgocache)
|
|
|
|
|
|
|
|
|
|
#### 安装使用
|
|
|
|
|
|
|
|
|
|
```go
|
|
|
|
|
go get -v -u github.com/dtapps/gocache
|
|
|
|
|
go get -v -u go.dtapp.net/gocache
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
#### 导入
|
|
|
|
|
|
|
|
|
|
```go
|
|
|
|
|
import (
|
|
|
|
|
"github.com/dtapps/gocache"
|
|
|
|
|
"go.dtapp.net/gocache"
|
|
|
|
|
)
|
|
|
|
|
```
|