Documentation ¶ Index ¶ Variables func InitI18nDomain(domain string, options ...func(l *i18n)) Constants ¶ This section is empty. Variables ¶ View Source var ( // G is the shorthand for Gettext G = func(msgid string) string { return msgid } // NG is the shorthand for NGettext NG = func(msgid string, msgidPlural string, n uint32) string { return msgid } ) Functions ¶ func InitI18nDomain ¶ func InitI18nDomain(domain string, options ...func(l *i18n)) InitI18nDomain calls bind + set locale to system values Types ¶ This section is empty. Source Files ¶ View all Source files i18n.go Click to show internal directories. Click to hide internal directories.