A whirlwind tour of Go’s runtime environment variables
dave.cheney.net
dave.cheney.net
This article: "the number of CPUs (whatever your operating system considers to be a CPU) visible to the program at startup."
Official docs: "The number of logical CPUs on the local machine can be queried with NumCPU." and "NumCPU returns the number of logical CPUs usable by the current process."
The problem with the official docs is they don't mention that the value of NumCPU is locked in at startup and never changes.
http://webcache.googleusercontent.com/search?q=cache:OXupz2Z...
More details here: https://golang.org/s/go15vendor.