diff --git a/README.md b/README.md index 9031a65..dd6aa1e 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@
![Go version](https://img.shields.io/badge/go-%3E%3Dv1.18-9cf) -[![Release](https://img.shields.io/badge/release-2.1.3-green.svg)](https://github.com/duke-git/lancet/releases) +[![Release](https://img.shields.io/badge/release-2.1.4-green.svg)](https://github.com/duke-git/lancet/releases) [![GoDoc](https://godoc.org/github.com/duke-git/lancet/v2?status.svg)](https://pkg.go.dev/github.com/duke-git/lancet/v2) [![Go Report Card](https://goreportcard.com/badge/github.com/duke-git/lancet/v2)](https://goreportcard.com/report/github.com/duke-git/lancet/v2) [![test](https://github.com/duke-git/lancet/actions/workflows/codecov.yml/badge.svg?branch=main&event=push)](https://github.com/duke-git/lancet/actions/workflows/codecov.yml) @@ -35,7 +35,7 @@ English | [简体中文](./README_zh-CN.md) 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.0. +2. For users who use version below go1.18, you should install v1.x.x. now latest v1 is v1.3.1. ```go go get github.com/duke-git/lancet@v1.3.0 // below go1.18, install latest version of v1.x.x ``` @@ -371,6 +371,7 @@ import "github.com/duke-git/lancet/v2/slice" ``` #### Function list: +- [AppendIfAbsent](https://github.com/duke-git/lancet/blob/main/docs/slice.md#AppendIfAbsent) - [Contain](https://github.com/duke-git/lancet/blob/main/docs/slice.md#Contain) - [ContainSubSlice](https://github.com/duke-git/lancet/blob/main/docs/slice.md#ContainSubSlice) - [Chunk](https://github.com/duke-git/lancet/blob/main/docs/slice.md#Chunk) diff --git a/README_zh-CN.md b/README_zh-CN.md index 2231fa8..45d7f71 100644 --- a/README_zh-CN.md +++ b/README_zh-CN.md @@ -4,7 +4,7 @@
![Go version](https://img.shields.io/badge/go-%3E%3Dv1.18-9cf) -[![Release](https://img.shields.io/badge/release-2.1.3-green.svg)](https://github.com/duke-git/lancet/releases) +[![Release](https://img.shields.io/badge/release-2.1.4-green.svg)](https://github.com/duke-git/lancet/releases) [![GoDoc](https://godoc.org/github.com/duke-git/lancet/v2?status.svg)](https://pkg.go.dev/github.com/duke-git/lancet/v2) [![Go Report Card](https://goreportcard.com/badge/github.com/duke-git/lancet/v2)](https://goreportcard.com/report/github.com/duke-git/lancet/v2) [![test](https://github.com/duke-git/lancet/actions/workflows/codecov.yml/badge.svg?branch=main&event=push)](https://github.com/duke-git/lancet/actions/workflows/codecov.yml) @@ -35,7 +35,7 @@ go get github.com/duke-git/lancet/v2 //安装v2最新版本v2.x.x ``` -2. 使用go1.18以下版本的用户,必须安装v1.x.x。目前最新的v1版本是v1.3.0。 +2. 使用go1.18以下版本的用户,必须安装v1.x.x。目前最新的v1版本是v1.3.1。 ```go go get github.com/duke-git/lancet@v1.3.0 // 使用go1.18以下版本, 必须安装v1.x.x版本 ``` @@ -367,6 +367,7 @@ import "github.com/duke-git/lancet/v2/slice" ``` #### 函数列表: +- [AppendIfAbsent](https://github.com/duke-git/lancet/blob/main/docs/slice_zh-CN.md#AppendIfAbsent) - [Contain](https://github.com/duke-git/lancet/blob/main/docs/slice_zh-CN.md#Contain) - [ContainSubSlice](https://github.com/duke-git/lancet/blob/main/docs/slice_zh-CN.md#ContainSubSlice) - [Chunk](https://github.com/duke-git/lancet/blob/main/docs/slice_zh-CN.md#Chunk)