template

package
v0.0.0-...-b3e6d50 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

internal/template/engine.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Engine

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

func NewEngine

func NewEngine(dir string) (*Engine, error)

func (*Engine) Render

func (e *Engine) Render(w io.Writer, name string, data interface{}) error

func (*Engine) RenderToString

func (e *Engine) RenderToString(name string, data interface{}) (string, error)

Jump to

Keyboard shortcuts

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