Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for gofmtMain (0.11 sec)

  1. src/cmd/gofmt/gofmt.go

    	maxWeight := (2 << 20) * int64(runtime.GOMAXPROCS(0))
    	s := newSequencer(maxWeight, os.Stdout, os.Stderr)
    
    	// call gofmtMain in a separate function
    	// so that it can use defer and have them
    	// run before the exit.
    	gofmtMain(s)
    	os.Exit(s.GetExitCode())
    }
    
    func gofmtMain(s *sequencer) {
    	telemetry.Start()
    	flag.Usage = usage
    	flag.Parse()
    	telemetry.Inc("gofmt/invocations")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 15.1K bytes
    - Viewed (0)
Back to top