Documentation ¶
Index ¶
- type Language
- type Section
- func (this *Section) Error(id string) error
- func (this *Section) Errorf(id string, a ...interface{}) error
- func (this *Section) FormatError(err error) utils.Message
- func (this *Section) FormattedError(id string) utils.Message
- func (this *Section) FormattedErrorf(id string, a ...interface{}) utils.Message
- func (this *Section) Info(text string) utils.Message
- func (this *Section) Infof(text string, a ...interface{}) utils.Message
- func (this *Section) Message(t string, text string) utils.Message
- func (this *Section) Messagef(t string, id string, a ...interface{}) utils.Message
- func (this *Section) Success(text string) utils.Message
- func (this *Section) Successf(text string, a ...interface{}) utils.Message
- func (this *Section) T(a ...interface{}) string
- type SectionFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Section ¶
type Section struct { Text map[string]string `json:"T"` Errors map[string]string `json:"error"` Messages map[string]string `json:"message"` }
func (*Section) FormattedErrorf ¶
type SectionFunc ¶
Click to show internal directories.
Click to hide internal directories.