Add the placeholder of i18n.

This commit is contained in:
zicla 2019-05-04 03:52:25 +08:00
parent 281e856864
commit 2b687331b5

16
code/tool/i18n/i18n.go Normal file
View File

@ -0,0 +1,16 @@
package i18n
const (
//英文
ENGLISH = "ENGLISH"
//中文
CHINESE = "CHINESE"
)
func Message(lang string, key string) {
if lang == ENGLISH {
} else if lang == CHINESE {
}
}