func goBuildEnviron() []string {
	out := []string{}
	for _, kvp := range os.Environ() {
		if !strings.HasPrefix(kvp, "GOPATH=") {
			out = append(out, kvp)
		}
	}
	return out
}
unset GOPATH if it's set, so we use modules
package testhelpers
import (
	"fmt"
	"io/ioutil"
	"os"
	"os/exec"
	"path/filepath"
	"strings"
)
const packageBaseName = "github.com/containernetworking/cni"
func run(cmd *exec.Cmd) error {
	out, err := cmd.CombinedOutput()
	if err != nil {
		command := strings.Join(cmd.Args, " ")
		return fmt.Errorf("running %q: %s", command, out)
	}
	return nil
}