views

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BasicView

type BasicView struct {
	TemplateName string
	Data         interface{}
}

func NewBasicView

func NewBasicView(templateName string, data interface{}) BasicView

func (*BasicView) Render

func (bv *BasicView) Render(w http.ResponseWriter) error

type View

type View interface {
	Render(http.ResponseWriter) error
}

Jump to

Keyboard shortcuts

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