view

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Default

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

func NewDefault

func NewDefault(tpl *template.Template) *Default

func (*Default) Data

func (d *Default) Data(data any)

func (*Default) Load

func (d *Default) Load(path string) error

func (*Default) Parse

func (d *Default) Parse(writer io.Writer) error

type ViewInterface

type ViewInterface interface {
	Load(path string) error
	Data(data any)
	Parse(writer io.Writer) error
}

Jump to

Keyboard shortcuts

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