MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / buildGoArgs

Function buildGoArgs

tools/mage/go.go:44–49  ·  view source on GitHub ↗
(cmd string, args ...string)

Source from the content-addressed store, hash-verified

42)
43
44func buildGoArgs(cmd string, args ...string) []string {
45 if goTags != "" {
46 args = append([]string{fmt.Sprintf("-tags=%s", goTags)}, args...)
47 }
48 return append([]string{cmd}, args...)
49}
50
51func execGoFrom(dir string, stdout, stderr io.Writer, cmd string, args ...string) error {
52 return execFrom(dir, nil, stdout, stderr, "go", buildGoArgs(cmd, args...)...)

Callers 1

execGoFromFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected