view_helper

package
v0.5.0-beta Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2021 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NoSuchTemplateError = errors.
	New("customize providers.ViewServiceProvider to load the correct templates").
	Status(http.StatusInternalServerError).
	Level(log_level.EMERGENCY)

Functions

func ContentByView

func ContentByView(
	view inter.View,
	builder func(template *template.Template) (*template.Template, error),
) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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