1 changed files with 16 additions and 0 deletions
@ -0,0 +1,16 @@ |
|||
package i18n |
|||
|
|||
const ( |
|||
//英文
|
|||
ENGLISH = "ENGLISH" |
|||
//中文
|
|||
CHINESE = "CHINESE" |
|||
) |
|||
|
|||
func Message(lang string, key string) { |
|||
if lang == ENGLISH { |
|||
|
|||
} else if lang == CHINESE { |
|||
|
|||
} |
|||
} |
|||
Loading…
Reference in new issue