func scriptCommands(interrupt os.Signal, waitDelay time.Duration) map[string]script.Cmd { … } // scriptCC runs the C compiler along with platform specific options. func scriptCC(cmdExec script.Cmd) script.Cmd { … } var scriptGoInvoked … // scriptGo runs the go command. func scriptGo(cancel func(*exec.Cmd) error, waitDelay time.Duration) script.Cmd { … } // scriptStale checks that the named build targets are stale. func scriptStale(cmdGo script.Cmd) script.Cmd { … }