left

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IndexData

type IndexData struct {
	Messages []app.Message
	Paginate paginate.Paginate
}

type InfoData

type InfoData struct {
	Info app.Info
}

type MessageData

type MessageData struct {
	Message app.Message
}

type Page

type Page string
const (
	IndexPage   Page = "index.html"
	MessagePage Page = "message.html"
	InfoPage    Page = "info.html"
)

type WebRepository

type WebRepository interface {
	GetTemplate(page Page) *template.Template
	GetAssetFS() fs.FS
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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