vgo: golang.org/x/vgo/vendor/cmd/go/internal/envcmd Index | Files

package envcmd

import "golang.org/x/vgo/vendor/cmd/go/internal/envcmd"

Package envcmd implements the “go env” command.

Index

Package Files

env.go

Variables

var CmdEnv = &base.Command{
    UsageLine: "go env [-json] [var ...]",
    Short:     "print Go environment information",
    Long:      "" /* 388 byte string literal not displayed */,
}

func ExtraEnvVars Uses

func ExtraEnvVars() []cfg.EnvVar

ExtraEnvVars returns environment variables that should not leak into child processes.

func ExtraEnvVarsCostly Uses

func ExtraEnvVarsCostly() []cfg.EnvVar

ExtraEnvVarsCostly returns environment variables that should not leak into child processes but are costly to evaluate.

func MkEnv Uses

func MkEnv() []cfg.EnvVar

Package envcmd imports 12 packages (graph). Updated 2018-09-28. Refresh now. Tools for package owners.