1
0
mirror of https://github.com/duke-git/lancet.git synced 2026-02-13 17:22:27 +08:00

update readme file

This commit is contained in:
dudaodong
2022-03-29 11:02:27 +08:00
parent e36c01cac9
commit fafb59dad6
2 changed files with 4 additions and 4 deletions

View File

@@ -35,9 +35,9 @@ English | [简体中文](./README_zh-CN.md)
go get github.com/duke-git/lancet/v2 // will install latest version of v2.x.x go get github.com/duke-git/lancet/v2 // will install latest version of v2.x.x
``` ```
2. <b>For users who use version below go1.18, you should install v1.x.x. now latest v1 is v1.2.6. </b> 2. <b>For users who use version below go1.18, you should install v1.x.x. now latest v1 is v1.2.7. </b>
```go ```go
go get github.com/duke-git/lancet@v1.2.6 // below go1.18, install latest version of v1.x.x go get github.com/duke-git/lancet@v1.2.7 // below go1.18, install latest version of v1.x.x
``` ```
## Usage ## Usage

View File

@@ -35,9 +35,9 @@
go get github.com/duke-git/lancet/v2 //安装v2最新版本v2.x.x go get github.com/duke-git/lancet/v2 //安装v2最新版本v2.x.x
``` ```
2. <b>使用go1.18以下版本的用户必须安装v1.x.x。目前最新的v1版本是v1.2.6。</b> 2. <b>使用go1.18以下版本的用户必须安装v1.x.x。目前最新的v1版本是v1.2.7。</b>
```go ```go
go get github.com/duke-git/lancet@v1.2.6 // 使用go1.18以下版本, 必须安装v1.x.x版本 go get github.com/duke-git/lancet@v1.2.7 // 使用go1.18以下版本, 必须安装v1.x.x版本
``` ```
## 用法 ## 用法