engine

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Engine

type Engine interface {
	Render(ctx context.Context, text string, dest io.Writer) error
}

func New

func New(cfg *config.Config, option ...Option) (Engine, error)

type Option

type Option func(*opts)

Option is configurable Engine behaver.

func IgnoreEmpty

func IgnoreEmpty() Option

IgnoreEmpty ignores empty value from external store.

Jump to

Keyboard shortcuts

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