Skip to content
This repository was archived by the owner on Oct 3, 2025. It is now read-only.

Commit 254e50c

Browse files
committed
update godoc and Makefile
1 parent 6007d74 commit 254e50c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ gen_pinyin_dict:
1414

1515
.PHONY: lint
1616
lint:
17-
gofmt -s -w . pinyin tools
17+
gofmt -s -w . tools/pinyin tools
1818
golint .
19-
golint pinyin
19+
golint tools/pinyin
2020
golint tools

pinyin.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ func HanPinyin(s string, a Args) [][]string {
262262
return pys
263263
}
264264

265-
// Pinyin 汉字转拼音,支持多音字模式和拼音与英文等字母混合.
265+
// Pinyin 汉字转拼音,支持多音字模式、拼音与英文等字母混合.
266266
func Pinyin(s string, a Args) [][]string {
267267
pys := [][]string{}
268268
for _, r := range s {

0 commit comments

Comments
 (0)