func execGoWith()

in dev-tools/mage/gotool/go.go [224:231]


func execGoWith(
	fn func(map[string]string, string, ...string) error,
	cmd string, args *Args,
) error {
	cliArgs := []string{cmd}
	cliArgs = append(cliArgs, args.build()...)
	return fn(args.env, mg.GoCmd(), cliArgs...)
}