func main() { showNets() http.HandleFunc("/", helloWorld) if err := http.ListenAndServe(":80", nil); err != nil { fmt.Printf("error serving HTTP: %v", err) return } vm.Exit() }
func main() { fmt.Println("Hello, world! I have", runtime.NumCPU(), "CPUs") vm.Exit() }