Is there a simple way to find out the number of CPU's on a local machine using Go lang?
http://play.golang.org/p/cuaf2ZHLIx
package main import ( "fmt" "runtime" ) func main() { fmt.Println(runtime.NumCPU()) }
1.4m articles
1.4m replys
5 comments
57.0k users