docs: 优化 README.md 的测试用例描述

This commit is contained in:
kercylan98
2024-01-15 11:12:24 +08:00
parent a026e4cf96
commit 580bab2dfc
20 changed files with 351 additions and 151 deletions

View File

@@ -61,7 +61,8 @@
<span id="IsContinuity"></span>
> 检查一组值是否连续
示例代码:
**示例代码:**
```go
func ExampleIsContinuity() {
@@ -147,7 +148,8 @@ func ExampleIsContinuity() {
> 将一组非连续的数字转换为从1开始的连续数字
> - 返回值是一个 mapkey 是从 1 开始的连续数字value 是原始数字
示例代码:
**示例代码:**
```go
func ExampleToContinuous() {