INNER CODE UNIT · Go

main

stashed/stash · main.go:33

func main() {
	rootCmd := cmds.NewRootCmd()
	logs.Init(rootCmd, true)
	defer logs.FlushLogs()

	if len(os.Getenv("GOMAXPROCS")) == 0 {
		runtime.GOMAXPROCS(runtime.NumCPU())
	}

	if err := rootCmd.Execute(); err != nil {
		klog.Fatalln("Error in Stash Main:", err)
	}
	klog.Infoln("Exiting Stash Main")
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…