Documentation
¶
Overview ¶
Package debug is a very partially implemented package to allow compilation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintStack ¶ added in v0.27.0
func PrintStack()
PrintStack prints to standard error the stack trace returned by runtime.Stack.
Not implemented.
func SetMaxStack ¶
SetMaxStack sets the maximum amount of memory that can be used by a single goroutine stack.
Not implemented.
Types ¶
type BuildInfo ¶ added in v0.23.0
type BuildInfo struct { GoVersion string // version of the Go toolchain that built the binary, e.g. "go1.19.2" Path string // The main package path Main Module // The module containing the main package Deps []*Module // Module dependencies Settings []BuildSetting }
BuildInfo represents the build information read from the running binary.
func ReadBuildInfo ¶ added in v0.23.0
ReadBuildInfo returns the build information embedded in the running binary. The information is available only in binaries built with module support.
Not implemented.
type BuildSetting ¶ added in v0.28.0
type BuildSetting struct {
// Key and Value describe the build setting.
// Key must not contain an equals sign, space, tab, or newline.
// Value must not contain newlines ('\n').
Key, Value string
}
Click to show internal directories.
Click to hide internal directories.