gosl/Gosl.go

18 lines
333 B
Go
Raw Normal View History

2016-01-18 23:19:51 +01:00
package main // code.bitsetter.de/fun/gosl
import (
"runtime"
"code.bitsetter.de/fun/gosl/cmd"
)
func main() {
// Max out processor usage:
// since go 1.5 it's the default to use all available cores,
// let's stay compatible to go <= 1.4
runtime.GOMAXPROCS(runtime.NumCPU())
// let each cmd handle itself
cmd.Execute()
}