- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for gofmtPath (0.26 sec)
-
src/cmd/go/internal/fmtcmd/fmt.go
base.Run(gofmtArgs) } } func gofmtPath() string { gofmt := "gofmt" + cfg.ToolExeSuffix() gofmtPath := filepath.Join(cfg.GOBIN, gofmt) if _, err := os.Stat(gofmtPath); err == nil { return gofmtPath } gofmtPath = filepath.Join(cfg.GOROOT, "bin", gofmt) if _, err := os.Stat(gofmtPath); err == nil { return gofmtPath } // fallback to looking for gofmt in $PATH
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 03 12:16:35 UTC 2022 - 3K bytes - Viewed (0)