Documentation
¶
Index ¶
- func Get(key string) string
- func GetErrMsg(key string, maps map[string]interface{}) string
- func GetLanguageFromDB() string
- func GetMsgByKey(key string) string
- func GetMsgWithDetail(key string, detail string) string
- func GetMsgWithMap(key string, maps map[string]interface{}) string
- func GetWithName(key string, name string) string
- func GetWithNameAndErr(key string, name string, err error) string
- func Init()
- func UseI18n() gin.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLanguageFromDB ¶
func GetLanguageFromDB() string
func GetMsgByKey ¶
func GetMsgWithDetail ¶
func GetMsgWithMap ¶
func GetWithName ¶
func UseI18n ¶
func UseI18n() gin.HandlerFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.