From e0faeae15d6faf9984f155b5761acb718f99e4f8 Mon Sep 17 00:00:00 2001 From: Mark Sanborn Date: Thu, 10 Sep 2015 18:22:11 -0700 Subject: [PATCH] Removed max go procs as it is the default after go 1.5 anyways --- cli.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cli.go b/cli.go index 9be8c44..4722f83 100644 --- a/cli.go +++ b/cli.go @@ -10,7 +10,6 @@ import ( "go/format" "log" "os" - "runtime" gen "github.com/sanbornm/gowsdl/generator" ) @@ -22,10 +21,6 @@ var pkg = flag.String("p", "myservice", "Package under which code will be genera var outFile = flag.String("o", "myservice.go", "File where the generated code will be saved") func init() { - if os.Getenv("GOMAXPROCS") == "" { - runtime.GOMAXPROCS(runtime.NumCPU()) - } - log.SetFlags(0) log.SetOutput(os.Stdout) log.SetPrefix("🍀 ")