translator

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: MIT Imports: 8 Imported by: 0

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)

Jump to

Keyboard shortcuts

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