1
0
mirror of https://github.com/duke-git/lancet.git synced 2026-03-01 00:35:28 +08:00

doc: add example and update doc for formatter package

This commit is contained in:
dudaodong
2023-01-02 15:35:09 +08:00
parent 6d57891f66
commit 64d5486cc6
5 changed files with 70 additions and 49 deletions

View File

@@ -371,7 +371,11 @@ import "github.com/duke-git/lancet/v2/formatter"
#### 函数列表:
- [Comma](https://github.com/duke-git/lancet/blob/main/docs/formatter_zh-CN.md#Comma)
- **<big>Comma</big>** : 用逗号每隔3位分割数字/字符串,支持前缀添加符号。
[[doc](https://github.com/duke-git/lancet/blob/main/docs/formatter_zh-CN.md#Comma)]
[[play](https://go.dev/play/p/eRD5k2vzUVX)]
### 10. function 函数包控制函数执行流程,包含部分函数式编程。