internal

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnvWithCurrentGOOS

func EnvWithCurrentGOOS() ([]string, error)

EnvWithCurrentGOOS returns a copy of os.Environ with the GOOS and GOARCH set to runtime.GOOS and runtime.GOARCH.

func EnvWithGOOS

func EnvWithGOOS(goos, goarch string) ([]string, error)

EnvWithGOOS retuns the os.Environ() values with GOOS and/or GOARCH either set to their runtime value, or the given value if non-empty.

func OutputDebug

func OutputDebug(cmd string, args ...string) (string, error)

func RunDebug

func RunDebug(cmd string, args ...string) error

func SetDebug

func SetDebug(l *log.Logger)

Types

This section is empty.

Jump to

Keyboard shortcuts

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