Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var I18nTranslations map[string]*Translation = map[string]*Translation{}
Functions ¶
This section is empty.
Types ¶
type Translation ¶
type Translation struct { ErrGeneric error ErrInvalidId error ErrInvalidDatas error ErrManyRequest error ErrorNonexistentRoute error ErrUndefinedColumn error ErrExpiredToken error ErrDisabledUser error ErrIncorrectPassword error ErrPassUnmatch error ErrUserHasPass error ErrInvalidIpAssociation error ErrProfileUsed error ErrProfileNotFound error ErrProfileRegistered error ErrUserUsed error ErrUserNotFound error ErrUserRegistered error ErrSiteUsed error ErrSiteNotFound error ErrSiteRegistered error ErrPhoneUsed error ErrPhoneNotFound error ErrPhoneRegistered error ErrOperatorUsed error ErrOperatorNotFound error ErrOperatorRegistered error ErrAccountUsed error ErrAccountNotFound error ErrAccountRegistered error }
func NewTranslation ¶
func NewTranslation(localizer *i18n.Localizer) *Translation
Click to show internal directories.
Click to hide internal directories.