helpers: github.com/gobuffalo/helpers/debug Index | Files

package debug

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

Index

Package Files

debug.go inspect.go

Constants

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

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

func Debug Uses

func Debug(v interface{}) template.HTML

Debug by verbosely printing out using 'pre' tags.

func Inspect Uses

func Inspect(v interface{}) string

Inspect the interface using the `%+v` formatter

func New Uses

func New() hctx.Map

New returns a map of the helpers within this package.

Package debug imports 3 packages (graph) and is imported by 1 packages. Updated 2019-04-19. Refresh now. Tools for package owners.