1
0
mirror of https://github.com/duke-git/lancet.git synced 2026-02-10 07:42:27 +08:00

doc: update readme file

This commit is contained in:
dudaodong
2023-05-18 10:51:33 +08:00
parent ba4485d8c0
commit 8af02ff95b
5 changed files with 45 additions and 10 deletions

View File

@@ -1104,7 +1104,6 @@ func main() {
}
```
### <span id="IsLeapYear">IsLeapYear</span>
<p>check if param `year` is leap year or not.</p>
@@ -1136,4 +1135,4 @@ func main() {
// true
// false
}
```
```

View File

@@ -1249,7 +1249,7 @@ func main() {
### <span id="SplitAndTrim">SplitAndTrim</span>
<p>Splits string `str` by a string `delimiter` to a slice, and calls Trim to every element of this array. It ignores the elements which are empty after Trim.</p>
<p>Splits string `str` by a string `delimiter` to a slice, and calls Trim to every element of slice. It ignores the elements which are empty after Trim.</p>
<b>Signature:</b>

View File

@@ -1249,7 +1249,7 @@ func main() {
### <span id="SplitAndTrim">SplitAndTrim</span>
<p>将字符串str按字符串 =delimiter拆分为一个切片并对该数组的每个元素调用Trim。忽略Trim后为空的元素。</p>
<p>将字符串str按字符串delimiter拆分为一个切片并对该数组的每个元素调用Trim。忽略Trim后为空的元素。</p>
<b>函数签名:</b>