Add Chinese transliteration via Pinyin conversion library

This commit is contained in:
2021-10-04 22:26:16 -07:00
parent c56c0ae198
commit b6e9ad6160
5 changed files with 48 additions and 1 deletions

1
go.mod
View File

@@ -15,6 +15,7 @@ require (
github.com/mattn/go-isatty v0.0.13 // indirect
github.com/mattn/go-runewidth v0.0.13 // indirect
github.com/mitchellh/mapstructure v1.4.1
github.com/mozillazg/go-pinyin v0.18.0
github.com/rs/zerolog v1.23.0
github.com/sirupsen/logrus v1.8.1 // indirect
github.com/spf13/cast v1.4.1 // indirect