Skip to content

Commit f34ca76

Browse files
committed
docs: better format for v1/v2 description
1 parent 7582bbd commit f34ca76

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

readme-cn.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@
5555

5656
## 版本选择
5757

58-
- v1(默认)- 非泛型版本
59-
- v2(泛型版)- 泛型版本,需要 Go 版本 >= 1.18
58+
- `v1`(默认)- 非泛型版本
59+
- `v2`(泛型版)- 泛型版本,需要 Go 版本 >= 1.18
6060

6161
## 简单示例
6262

readme.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ It's simple, just receive from a channel or the given context in the goroutine.
5656

5757
## Choose the right version
5858

59-
- v1 (default) - non-generic version
60-
- v2 (generics) - generic version, needs Go version >= 1.18
59+
- `v1` (default) - non-generic version
60+
- `v2` (generics) - generic version, needs Go version >= 1.18
6161

6262
## A simple example
6363

0 commit comments

Comments
 (0)