debug

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DebugKey   = "debug"
	InspectKey = "inspect"
)

Keys to be used in templates for the functions in this package.

Variables

This section is empty.

Functions

func Debug

func Debug(v interface{}) template.HTML

Debug by verbosely printing out using 'pre' tags.

func Inspect

func Inspect(v interface{}) string

Inspect the interface using the `%+v` formatter

func New

func New() hctx.Map

New returns a map of the helpers within this package.

Types

This section is empty.

Jump to

Keyboard shortcuts

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