Skip to content

Commit

Permalink
docs: 更新文档
Browse files Browse the repository at this point in the history
  • Loading branch information
caixw committed Dec 5, 2023
1 parent c3cfdc0 commit 306ccc5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,14 @@ localeutil
![Go version](https://img.shields.io/github/go-mod/go-version/issue9/localeutil)
======

提供了一些常用的本地化相关功能,依赖于 golang.org/x/text
提供了一些常用的本地化相关功能,依赖于 <https://pkg.go.dev/golang.org/x/text>

- DetectUserLanguage 检测当前用户的本地化信息
- LoadMessage 从 yaml、json 等格式中加载本地化的信息内容
- Width 计算字符的宽度
- message 本地化消息
- message/serialize 本地化消息的序列化
- message/extract 本地化消息的提取


安装
----
Expand Down

0 comments on commit 306ccc5

Please sign in to comment.