feat(app): update
This commit is contained in:
@ -20,7 +20,7 @@ var (
|
||||
)
|
||||
|
||||
var (
|
||||
pinyinTemp map[vowel]interface{}
|
||||
pinyinTemp map[vowel]any
|
||||
toneTemp map[vowel]vowel
|
||||
)
|
||||
|
||||
@ -38,7 +38,7 @@ func LoadingPYFile(filename string) {
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
pinyinTemp = make(map[vowel]interface{}, 0)
|
||||
pinyinTemp = make(map[vowel]any, 0)
|
||||
toneTemp = make(map[vowel]vowel)
|
||||
for i, t := range ys {
|
||||
toneTemp[t] = ws[i]
|
||||
|
||||
Reference in New Issue
Block a user