template

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Template

type Template struct {
	Structure string
	Data      interface{}
	// contains filtered or unexported fields
}

func NewTemplate

func NewTemplate(str string, data interface{}) *Template

func (*Template) Get

func (t *Template) Get() ([]byte, error)

func (*Template) Write

func (t *Template) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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