更新用法

This commit is contained in:
yun
2024-08-11 22:19:28 +08:00
parent 8d3bd7cade
commit 3a4c3e58e6
4 changed files with 51 additions and 9 deletions
-7
View File
@@ -31,13 +31,6 @@ func init() {
}
}
// 设置
func InitLangx(ops ...Option) {
for _, opt := range ops {
opt(l.ops)
}
}
// 这是语言的Code
func RegisterCode(datas map[string]int) {
l.mut.Lock()