Help us shape the future of Go! Take the 2026 Go Developer Survey

debug

package
v1.20.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DD

func DD(v ...any)

DD is used to display detailed information about variables and then exit the program

func Dump

func Dump(v ...any)

Dump is used to display detailed information about variables

func DumpHTML

func DumpHTML(v ...any)

DumpHTML is used to display detailed information about variables in HTML format

func DumpJSON

func DumpJSON(v ...any)

DumpJSON is used to display detailed information about variables in JSON format

func FDump

func FDump(w io.Writer, v ...any)

FDump is used to display detailed information about variables to the specified io.Writer

func FDumpHTML

func FDumpHTML(w io.Writer, v ...any)

FDumpHTML is used to display detailed information about variables in HTML format to the specified io.Writer

func FDumpJSON

func FDumpJSON(w io.Writer, v ...any)

FDumpJSON is used to display detailed information about variables in JSON format to the specified io.Writer

func SDump

func SDump(v ...any) string

SDump is used to display detailed information about variables as a string

func SDumpHTML

func SDumpHTML(v ...any) string

SDumpHTML is used to display detailed information about variables in HTML format as a string

func SDumpJSON

func SDumpJSON(v ...any) string

SDumpJSON is used to display detailed information about variables in JSON format as a string

Types

type FuncInfo

type FuncInfo struct {
	File string
	Name string

	Line int
	// contains filtered or unexported fields
}

func GetFuncInfo

func GetFuncInfo(f any) FuncInfo

func (*FuncInfo) PackageName

func (f *FuncInfo) PackageName() string

func (*FuncInfo) PackagePath

func (f *FuncInfo) PackagePath() string

func (*FuncInfo) ShortName

func (f *FuncInfo) ShortName() string

Jump to

Keyboard shortcuts

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