1
0
mirror of https://github.com/duke-git/lancet.git synced 2026-02-04 12:52:28 +08:00

doc: update doc for v2.3.4

This commit is contained in:
dudaodong
2024-12-04 11:24:53 +08:00
parent 995ffb799f
commit 8ebb8a028e
7 changed files with 142 additions and 44 deletions

View File

@@ -1236,7 +1236,7 @@ func main() {
### <span id="Permutation">Permutation</span>
<p>计算排列数P(n, k)。</p>
<p>计算排列数P(n, k)。</p>
<b>函数签名:</b>
@@ -1269,7 +1269,7 @@ func main() {
### <span id="Combination">Combination</span>
<p>计算组合数C(n, k)。</p>
<p>计算组合数C(n, k)。</p>
<b>函数签名:</b>

View File

@@ -526,7 +526,7 @@ func main() {
```
### <span id="RandNumberOfLength">RandNumberOfLength</span>
<p>生成指定长度的随机数</p>
<p>生成指定长度的随机数</p>
<b>函数签名:</b>

View File

@@ -10,7 +10,7 @@ outline: deep
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. The latest of v1.x.x is v1.4.4. </b>
2. <b>For users who use version below go1.18, you should install v1.x.x. The latest of v1.x.x is v1.4.5. </b>
```go
go get github.com/duke-git/lancet // below go1.18, install latest version of v1.x.x

View File

@@ -10,7 +10,7 @@ outline: deep
go get github.com/duke-git/lancet/v2 // will install latest version of v2.x.x
```
2. <b>使用 go1.18 以下版本的用户,必须安装 v1.x.x。目前最新的 v1 版本是 v1.4.4。</b>
2. <b>使用 go1.18 以下版本的用户,必须安装 v1.x.x。目前最新的 v1 版本是 v1.4.5。</b>
```go
go get github.com/duke-git/lancet // below go1.18, install latest version of v1.x.x