mage: Index | Files

package internal

import ""


Package Files


func EnvWithCurrentGOOS Uses

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 Uses

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 Uses

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

func RunDebug Uses

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

func SetDebug Uses

func SetDebug(l *log.Logger)

Package internal imports 8 packages (graph) and is imported by 6 packages. Updated 2020-04-13. Refresh now. Tools for package owners.