render

package
v0.7.11 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GlobalRender = Render{
	// contains filtered or unexported fields
}

Functions

This section is empty.

Types

type Render

type Render struct {
	Data map[string]interface{}
	// contains filtered or unexported fields
}

func New

func New() Render

func (*Render) Execute

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

func (*Render) ExecuteWithData

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

func (*Render) IsTemplateExist

func (r *Render) IsTemplateExist() bool

Jump to

Keyboard shortcuts

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