i18n

package
v1.10.14-lts Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetErrMsg

func GetErrMsg(key string, maps map[string]interface{}) string

func GetMsgByKey added in v1.3.0

func GetMsgByKey(key string) string

func GetMsgWithMap

func GetMsgWithMap(key string, maps map[string]interface{}) string

func GetMsgWithName

func GetMsgWithName(key string, name string, err error) string

func Init

func Init()

func UseI18n

func UseI18n() gin.HandlerFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL