Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnonymousTemplate ¶
type AnonymousTemplate struct{}
func (*AnonymousTemplate) ExecuteAlgorithm ¶
func (a *AnonymousTemplate) ExecuteAlgorithm(f func() string) string
type MessageRetriever ¶
type MessageRetriever interface {
Message() string
}
func MessageRetrieverAdapter ¶
func MessageRetrieverAdapter(f func() string) MessageRetriever
type Template ¶
type Template struct{}
func (*Template) ExecuteAlgorithm ¶
func (t *Template) ExecuteAlgorithm(m MessageRetriever) string
type Templater ¶
type Templater interface { ExecuteAlgorithm(MessageRetriever) string // contains filtered or unexported methods }
Click to show internal directories.
Click to hide internal directories.