Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ItemTranslator ¶
type ItemTranslator struct {
// contains filtered or unexported fields
}
func NewItemTranslator ¶
func NewItemTranslator(tpl *templates.ScriptTemplate) *ItemTranslator
func (*ItemTranslator) Translate ¶
func (t *ItemTranslator) Translate(item item.Item) ([]byte, error)
func (*ItemTranslator) TranslateAll ¶
func (t *ItemTranslator) TranslateAll(items []item.Item) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.