Skip to content

Commit e0faeae

Browse files
committed
Removed max go procs as it is the default after go 1.5 anyways
1 parent 2e9e3c6 commit e0faeae

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

cli.go

-5
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import (
1010
"go/format"
1111
"log"
1212
"os"
13-
"runtime"
1413

1514
gen "github.com/sanbornm/gowsdl/generator"
1615
)
@@ -22,10 +21,6 @@ var pkg = flag.String("p", "myservice", "Package under which code will be genera
2221
var outFile = flag.String("o", "myservice.go", "File where the generated code will be saved")
2322

2423
func init() {
25-
if os.Getenv("GOMAXPROCS") == "" {
26-
runtime.GOMAXPROCS(runtime.NumCPU())
27-
}
28-
2924
log.SetFlags(0)
3025
log.SetOutput(os.Stdout)
3126
log.SetPrefix("🍀 ")

0 commit comments

Comments
 (0)