godebug

package
v1.20.5 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2026 License: Apache-2.0, BSD-3-Clause, MIT Imports: 3 Imported by: 0

Documentation

Overview

Package godebug makes the simplified settings in the $GODEBUG environment variable available to packages. Needed since internal/godebug is not available here.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(key string) string

Get returns the value of the GODEBUG setting key. As in the standard library, $GODEBUG takes precedence over the defaults the binary was built with, which include //go:debug directives and godebug lines in go.mod.

Types

This section is empty.

Jump to

Keyboard shortcuts

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