Skip to content

Commit

Permalink
Add the placeholder of i18n.
Browse files Browse the repository at this point in the history
  • Loading branch information
zicla committed May 3, 2019
1 parent 281e856 commit 2b68733
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions code/tool/i18n/i18n.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package i18n

const (
//英文
ENGLISH = "ENGLISH"
//中文
CHINESE = "CHINESE"
)

func Message(lang string, key string) {
if lang == ENGLISH {

} else if lang == CHINESE {

}
}

0 comments on commit 2b68733

Please sign in to comment.