page

package
v0.0.0-...-720f636 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Page

type Page struct {
	Title             string
	CSRFToken         string
	ErrorMessages     []string
	ErrorMessagesJSON string
	Data              interface{}
	DataJSON          string
	UIMapData         map[string]interface{}
}

func New

func New() *Page

New ...

func (*Page) AddError

func (p *Page) AddError(msg string)

AddError ...

func (*Page) JSONify

func (p *Page) JSONify() string

JSONify ...

func (*Page) ResetErrors

func (p *Page) ResetErrors()

ResetErrors ...

func (*Page) SetData

func (p *Page) SetData(v interface{})

SetData ...

Jump to

Keyboard shortcuts

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