package debug

import "github.com/gobuffalo/plush/v5/helpers/debug"

Index

Constants

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

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

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.

Source Files

debug.go inspect.go

Version
v5.0.5 (latest)
Published
May 23, 2025
Platform
linux/amd64
Imports
3 packages
Last checked
2 weeks ago

Tools for package owners.