Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func I18nMiddleware ¶
Types ¶
type I18n ¶
type I18n struct {
// contains filtered or unexported fields
}
I18n is a wrapper around github.com/nicksnyder/go-i18n
func FromContext ¶
FromContext retrieves the i18n instance from the request context
func (*I18n) GetLocalizer ¶
GetLocalizer returns a localizer for the given language
Click to show internal directories.
Click to hide internal directories.