Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DateTimeFormatFromIso ¶
type DateTimeFormatFromIso struct {
// contains filtered or unexported fields
}
DateTime template helper function
func (*DateTimeFormatFromIso) Func ¶
func (tf *DateTimeFormatFromIso) Func() interface{}
Func template function factory
func (*DateTimeFormatFromIso) Inject ¶
func (tf *DateTimeFormatFromIso) Inject(service *application.DateTimeService, logger flamingo.Logger)
type DateTimeFormatFromTime ¶
type DateTimeFormatFromTime struct {
// contains filtered or unexported fields
}
DateTime template helper function
func (*DateTimeFormatFromTime) Func ¶
func (tf *DateTimeFormatFromTime) Func() interface{}
Func template function factory
func (*DateTimeFormatFromTime) Inject ¶
func (tf *DateTimeFormatFromTime) Inject(service *application.DateTimeService, logger flamingo.Logger)
type Label ¶
type Label struct {
// contains filtered or unexported fields
}
Label is exported as a template function
func (*Label) Inject ¶
func (tf *Label) Inject(service application.TranslationServiceInterface)
type NumberFormatFunc ¶
type NumberFormatFunc struct {
// contains filtered or unexported fields
}
NumberFormatFunc for formatting numbers
func (*NumberFormatFunc) Func ¶
func (nff *NumberFormatFunc) Func() interface{}
Func as implementation of debug method
func (*NumberFormatFunc) Inject ¶
func (nff *NumberFormatFunc) Inject( serviceInterface application.TranslationServiceInterface, config *struct { Precision float64 `inject:"config:locale.numbers.precision"` Decimal string `inject:"config:locale.numbers.decimal"` Thousand string `inject:"config:locale.numbers.thousand"` }, )
type PriceFormatFunc ¶
type PriceFormatFunc struct {
// contains filtered or unexported fields
}
PriceFormatFunc for formatting prices
func (*PriceFormatFunc) Func ¶
func (pff *PriceFormatFunc) Func() interface{}
Func as implementation of debug method
func (*PriceFormatFunc) Inject ¶
func (pff *PriceFormatFunc) Inject(serviceInterface application.TranslationServiceInterface, config *struct { Config config.Map `inject:"config:locale.accounting"` })
type PriceFormatLongFunc ¶
type PriceFormatLongFunc struct {
// contains filtered or unexported fields
}
PriceFormatFunc for formatting prices
func (*PriceFormatLongFunc) Func ¶
func (pff *PriceFormatLongFunc) Func() interface{}
Func as implementation of debug method
func (*PriceFormatLongFunc) Inject ¶
func (pff *PriceFormatLongFunc) Inject( serviceInterface application.TranslationServiceInterface, formatFunc *PriceFormatFunc, config *struct { Config config.Map `inject:"config:locale.accounting"` }, )
Click to show internal directories.
Click to hide internal directories.