Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FooBarError ¶
type FooBarError struct {
xi18n.LocalisableError
}
func NewFooBarError ¶
func NewFooBarError(path string, reason error) FooBarError
NewFooBarError creates a FooBarError
func (FooBarError) FooBar ¶
func (e FooBarError) FooBar() bool
FooBar enables the client to check if error is FooBarError via FooBarErrorBehaviourQuery
type FooBarErrorBehaviourQuery ¶
type FooBarErrorBehaviourQuery interface {
FooBar() bool
}
FooBarErrorBehaviourQuery used to query if an error is: "Failed to read directory contents from the path specified"
type FooBarTemplData ¶
FooBarTemplData - TODO: this is a none existent error that should be replaced by the client. Its just defined here to illustrate the pattern that should be used to implement i18n with extendio. Also note, that this message has been removed from the translation files, so it is not useable at run time.
func (FooBarTemplData) Message ¶
func (td FooBarTemplData) Message() *i18n.Message
the ID should use spp/library specific code, so replace arcadia with the name of the library implementing this template project.
type RootCmdConfigFileUsageTemplData ¶
type RootCmdConfigFileUsageTemplData struct { ConfigFileName string // contains filtered or unexported fields }
🧊 RootCmdConfigFileUsage
func (RootCmdConfigFileUsageTemplData) Message ¶
func (td RootCmdConfigFileUsageTemplData) Message() *i18n.Message
type RootCmdLangUsageTemplData ¶
type RootCmdLangUsageTemplData struct {
// contains filtered or unexported fields
}
func (RootCmdLangUsageTemplData) Message ¶
func (td RootCmdLangUsageTemplData) Message() *i18n.Message
type RootCmdLongDescTemplData ¶
type RootCmdLongDescTemplData struct {
// contains filtered or unexported fields
}
🧊 RootCmdLongDesc
func (RootCmdLongDescTemplData) Message ¶
func (td RootCmdLongDescTemplData) Message() *i18n.Message
type RootCmdShortDescTemplData ¶
type RootCmdShortDescTemplData struct {
// contains filtered or unexported fields
}
🧊 RootCmdShortDesc
func (RootCmdShortDescTemplData) Message ¶
func (td RootCmdShortDescTemplData) Message() *i18n.Message
type UsingConfigFileTemplData ¶
type UsingConfigFileTemplData struct { ConfigFileName string // contains filtered or unexported fields }
func (UsingConfigFileTemplData) Message ¶
func (td UsingConfigFileTemplData) Message() *i18n.Message
type WidgetCmdLongDescTemplData ¶
type WidgetCmdLongDescTemplData struct {
// contains filtered or unexported fields
}
🧊 WidgetCmdLongDesc
func (WidgetCmdLongDescTemplData) Message ¶
func (td WidgetCmdLongDescTemplData) Message() *i18n.Message
type WidgetCmdShortDescTemplData ¶
type WidgetCmdShortDescTemplData struct {
// contains filtered or unexported fields
}
🧊 WidgetCmdShortDesc
func (WidgetCmdShortDescTemplData) Message ¶
func (td WidgetCmdShortDescTemplData) Message() *i18n.Message