template

package
v0.0.0-...-5454b35 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2020 License: GPL-3.0 Imports: 1 Imported by: 0

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
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL