Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Translator ¶
func FromContext ¶
func FromContext(ctx context.Context) *Translator
func Get ¶
func Get() *Translator
func (*Translator) Message ¶
func (translator *Translator) Message(ctx context.Context, id, msg string) string
func (*Translator) MessageWithTemplate ¶
Click to show internal directories.
Click to hide internal directories.