debug

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2025 License: MIT Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DD added in v1.16.0

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 added in v1.16.0

func DumpHTML(v ...any)

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

func DumpJSON added in v1.16.0

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 added in v1.16.0

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 added in v1.16.0

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 added in v1.16.0

func SDumpHTML(v ...any) string

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

func SDumpJSON added in v1.16.0

func SDumpJSON(v ...any) string

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

Types

type FuncInfo added in v1.16.0

type FuncInfo struct {
	File string
	Name string

	Line int
	// contains filtered or unexported fields
}

func GetFuncInfo added in v1.16.0

func GetFuncInfo(f any) FuncInfo

func (*FuncInfo) PackageName added in v1.16.0

func (f *FuncInfo) PackageName() string

func (*FuncInfo) PackagePath added in v1.16.0

func (f *FuncInfo) PackagePath() string

func (*FuncInfo) ShortName added in v1.16.0

func (f *FuncInfo) ShortName() string

Jump to

Keyboard shortcuts

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