|
|
|
@ -6,9 +6,9 @@
|
|
|
|
|
|
|
|
|
|
[comment]: <> (go)
|
|
|
|
|
[![go](https://github.com/dtapps/go-library/actions/workflows/go.yml/badge.svg)](https://github.com/dtapps/go-library/actions/workflows/go.yml)
|
|
|
|
|
[![godoc](https://pkg.go.dev/badge/gopkg.in/dtapps/go-library.v2?status.svg)](https://pkg.go.dev/gopkg.in/dtapps/go-library.v2)
|
|
|
|
|
[![goproxy.cn](https://goproxy.cn/stats/gopkg.in/dtapps/go-library.v2/badges/download-count.svg)](https://goproxy.cn/stats/gopkg.in/dtapps/go-library.v2)
|
|
|
|
|
[![goreportcard.com](https://goreportcard.com/badge/gopkg.in/dtapps/go-library.v2)](https://goreportcard.com/report/gopkg.in/dtapps/go-library.v2)
|
|
|
|
|
[![godoc](https://pkg.go.dev/badge/gopkg.in/dtapps/go-library.v3?status.svg)](https://pkg.go.dev/gopkg.in/dtapps/go-library.v3)
|
|
|
|
|
[![goproxy.cn](https://goproxy.cn/stats/gopkg.in/dtapps/go-library.v3/badges/download-count.svg)](https://goproxy.cn/stats/gopkg.in/dtapps/go-library.v3)
|
|
|
|
|
[![goreportcard.com](https://goreportcard.com/badge/gopkg.in/dtapps/go-library.v3)](https://goreportcard.com/report/gopkg.in/dtapps/go-library.v3)
|
|
|
|
|
[![deps.dev](https://img.shields.io/badge/deps-go-red.svg)](https://deps.dev/go/github.com%2Fdtapps%2Fgo-library)
|
|
|
|
|
[![Coverage Status](https://coveralls.io/repos/github/dtapps/go-library/badge.svg?branch=master)](https://coveralls.io/github/dtapps/go-library?branch=master)
|
|
|
|
|
[![Sourcegraph](https://sourcegraph.com/github.com/dtapps/go-library/-/badge.svg)](https://sourcegraph.com/github.com/dtapps/go-library?badge)
|
|
|
|
@ -19,10 +19,10 @@
|
|
|
|
|
#### 安装使用
|
|
|
|
|
|
|
|
|
|
```go
|
|
|
|
|
go get -v -u gopkg.in/dtapps/go-library.v2
|
|
|
|
|
go get -v -u gopkg.in/dtapps/go-library.v3
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"gopkg.in/dtapps/go-library.v2"
|
|
|
|
|
"gopkg.in/dtapps/go-library.v3"
|
|
|
|
|
)
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
@ -34,7 +34,7 @@ import (
|
|
|
|
|
|
|
|
|
|
```go
|
|
|
|
|
import (
|
|
|
|
|
"gopkg.in/dtapps/go-library.v2/utils/gotime"
|
|
|
|
|
"gopkg.in/dtapps/go-library.v3/utils/gotime"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
gotime.Current().Now()
|
|
|
|
@ -53,6 +53,6 @@ gotime.Current().TimestampWithMillisecond()
|
|
|
|
|
|
|
|
|
|
## 🔑 License
|
|
|
|
|
|
|
|
|
|
[MIT](https://gopkg.in/dtapps/go-library.v2/blob/master/LICENSE)
|
|
|
|
|
[MIT](https://gopkg.in/dtapps/go-library.v3/blob/master/LICENSE)
|
|
|
|
|
|
|
|
|
|
Copyright (c) 2018 茂名聚合科技有限公司
|