frontend

package
v0.16.5 Latest Latest
Warning

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

Go to latest
Published: May 28, 2022 License: AGPL-3.0, AGPL-3.0-only Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const TplLogin = "login.gohtml"

Variables

View Source
var StaticFS embed.FS

Functions

This section is empty.

Types

type Login added in v0.16.1

type Login struct {
	Title string
	User  model.User
}

type TemplateEngine

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

func NewTemplateEngine

func NewTemplateEngine() (TemplateEngine, error)

func (TemplateEngine) Execute

func (e TemplateEngine) Execute(w io.Writer, name string, data interface{}) error

Jump to

Keyboard shortcuts

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