util

package
v0.0.0-...-90a4f49 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2020 License: Unlicense Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterCsrf

func RegisterCsrf(context ctx.Context, m template.FuncMap)

func RegisterFlashBag

func RegisterFlashBag(context ctx.Context, m template.FuncMap)

func RegisterTitle

func RegisterTitle(m template.FuncMap)

Types

type FlashBag

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

func (*FlashBag) Error

func (b *FlashBag) Error(name string) template.HTML

func (*FlashBag) Info

func (b *FlashBag) Info(name string) template.HTML

func (*FlashBag) Success

func (b *FlashBag) Success(name string) template.HTML

func (*FlashBag) Warning

func (b *FlashBag) Warning(name string) template.HTML

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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