package godebugs
Import Path
internal/godebugs (on go.dev)
Dependency Relation
imports 0 packages, and imported by 3 packages
Involved Source Files
Package godebugs provides a table of known GODEBUG settings,
for use by a variety of other packages, including internal/godebug,
runtime, runtime/metrics, and cmd/go/internal/load.
Package-Level Type Names (only one)
An Info describes a single known GODEBUG setting.
// minor version when default changed, if any; 21 means Go 1.21
// name of the setting ("panicnil")
// value that restores behavior prior to Changed
// setting does not export information to runtime/metrics using [internal/godebug.Setting.IncNonDefault]
// package that uses the setting ("runtime")
func Lookup(name string) *Info
Package-Level Functions (only one)
Lookup returns the Info with the given name.
Package-Level Variables (only one)
All is the table of known settings, sorted by Name.
Note: After adding entries to this table, run 'go generate runtime/metrics'
to update the runtime/metrics doc comment.
(Otherwise the runtime/metrics test will fail.)
Note: After adding entries to this table, update the list in doc/godebug.md as well.
(Otherwise the test in this package will fail.)
The pages are generated with Golds v0.7.0-preview. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |