goenv

package
v0.15.4 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GOPROXYURL

func GOPROXYURL() []string

GOPROXYURL returns the GOPROXY URLs as a slice, filtering out non-URL values.

func Get

func Get(key string) string

Get retrieves a Go environment variable using 'go env <name>'. Results are cached using singleflight to avoid duplicate calls, unless running in test mode.

Types

This section is empty.

Jump to

Keyboard shortcuts

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