From 005dd9d2ab481a1a0a5bea36ed6d6e7b77e80a4d Mon Sep 17 00:00:00 2001 From: dudaodong Date: Mon, 26 Dec 2022 17:51:30 +0800 Subject: [PATCH] fix: fix word misspelling --- README.md | 4 ++-- README_zh-CN.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8335c6e..7f82990 100644 --- a/README.md +++ b/README.md @@ -32,13 +32,13 @@ English | [简体中文](./README_zh-CN.md) ### Note: -1. For users who use go1.18 and above, it is recommended to install lancet v2.x.x. Cause v2.x.x rewrite all functions with generics of go1.18. +1. For users who use go1.18 and above, it is recommended to install lancet v2.x.x. Cause in v2.x.x all functions was rewriten with generics of go1.18. ```go go get github.com/duke-git/lancet/v2 // will install latest version of v2.x.x ``` -2. For users who use version below go1.18, you should install v1.x.x. now latest v1 is v1.3.5. +2. For users who use version below go1.18, you should install v1.x.x. The latest of v1.x.x is v1.3.5. ```go go get github.com/duke-git/lancet@v1.3.5 // below go1.18, install latest version of v1.x.x diff --git a/README_zh-CN.md b/README_zh-CN.md index 40356f6..0a68989 100644 --- a/README_zh-CN.md +++ b/README_zh-CN.md @@ -31,13 +31,13 @@ ### Note: -1. 对于使用 go1.18 及以上的用户,建议安装 v2.x.x。 因为 v2.x.x 用 go1.18 的泛型重写了大部分函数。 +1. 使用go1.18及以上版本的用户,建议安装v2.x.x。 因为v2.x.x应用go1.18的泛型重写了大部分函数。 ```go go get github.com/duke-git/lancet/v2 //安装v2最新版本v2.x.x ``` -2. 使用 go1.18 以下版本的用户,必须安装 v1.x.x。目前最新的 v1 版本是 v1.3.5。 +2. 使用go1.18以下版本的用户,必须安装v1.x.x。目前最新的v1版本是v1.3.5。 ```go go get github.com/duke-git/lancet@v1.3.5 // 使用go1.18以下版本, 必须安装v1.x.x版本