func usage() { … } var commands … // main takes care of OS-specific startup and dispatches to xmain. func main() { … } // The OS-specific main calls into the portable code here. func xmain() { … }
func usage() { … } var commands … // main takes care of OS-specific startup and dispatches to xmain. func main() { … } // The OS-specific main calls into the portable code here. func xmain() { … }