Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTranslationFunc ¶
func GetTranslationFunc(r *http.Request) i18n.TranslateFunc
func InitI18n ¶
func InitI18n(config I18nConfig)
Types ¶
type DataWrappedTranslateFunc ¶
func GetDataWrappedTranslateFunc ¶
func GetDataWrappedTranslateFunc(T i18n.TranslateFunc, data map[string]interface{}) DataWrappedTranslateFunc
type FutureTranslateFunc ¶
type FutureTranslateFunc func(translationID string, args ...interface{}) FutureTranslation
func GetFutureTranslateFunc ¶
func GetFutureTranslateFunc(T UnescapedTranslateFunc) FutureTranslateFunc
type FutureTranslation ¶
type I18nConfig ¶
type UnescapedTranslateFunc ¶
func GetUnescapedTranslatFunc ¶
func GetUnescapedTranslatFunc(T DataWrappedTranslateFunc) UnescapedTranslateFunc
Click to show internal directories.
Click to hide internal directories.