Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Translations ¶
type Translations struct {
// contains filtered or unexported fields
}
func (Translations) Get ¶
func (t Translations) Get(key string, values map[string]string) string
T translates based on the default language inside .env or if not givem or such not loaded
func (*Translations) SetLanguage ¶
func (t *Translations) SetLanguage(language string) *Translations
Click to show internal directories.
Click to hide internal directories.