render

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2025 License: MIT Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(content string) ([]byte, error)

func ExecuteWithData

func ExecuteWithData(content string, data any) ([]byte, error)

Types

type Render

type Render struct {
	// contains filtered or unexported fields
}

func NewRender added in v0.9.1

func NewRender(opts ...fstore.OptionFunc) *Render

func (*Render) Execute

func (r *Render) Execute(content string) ([]byte, error)

func (*Render) ExecuteWithData

func (r *Render) ExecuteWithData(content string, data any) ([]byte, error)

Jump to

Keyboard shortcuts

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