2020-03-12 00:10:42 +01:00
|
|
|
package main /* import "udico.de/fun/gosl" */
|
2016-01-18 23:19:51 +01:00
|
|
|
|
|
|
|
import (
|
|
|
|
"code.bitsetter.de/fun/gosl/cmd"
|
2016-02-06 13:26:01 +01:00
|
|
|
"runtime"
|
2016-01-18 23:19:51 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
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()
|
|
|
|
}
|