Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BarTypeFunc ¶
type BarTypeFunc struct{}
BarTypeFunc provides a template function which determines the bar type for a stars bar
func (*BarTypeFunc) Func ¶
func (f *BarTypeFunc) Func(_ context.Context) interface{}
Func returns the function mapping bar types to star amounts
type RandomIntFunc ¶
type RandomIntFunc struct {
// contains filtered or unexported fields
}
RandomIntFunc provides a random integer template function
func (*RandomIntFunc) Func ¶
func (f *RandomIntFunc) Func(_ context.Context) interface{}
Func returns the function returning a random int between min and max
func (*RandomIntFunc) Inject ¶
func (f *RandomIntFunc) Inject( c *struct { DebugMode bool `inject:"config:debug.mode"` }, )
Inject dependencies
Click to show internal directories.
Click to hide internal directories.