Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for gofmt (0.38 sec)

  1. src/cmd/go/alldocs.go

    //
    // See also: go fmt, go vet.
    //
    // # Gofmt (reformat) package sources
    //
    // Usage:
    //
    //	go fmt [-n] [-x] [packages]
    //
    // Fmt runs the command 'gofmt -l -w' on the packages named
    // by the import paths. It prints the names of the files that are modified.
    //
    // For more about gofmt, see 'go doc cmd/gofmt'.
    // For more about specifying packages, see 'go help packages'.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  2. src/cmd/go/internal/load/pkg.go

    		return StalePath
    	}
    	if p.Goroot && strings.HasPrefix(p.ImportPath, "cmd/") && p.Name == "main" {
    		switch p.ImportPath {
    		case "cmd/go", "cmd/gofmt":
    			return ToBin
    		}
    		return ToTool
    	}
    	return ToBin
    }
    
    var cgoExclude = map[string]bool{
    	"runtime/cgo": true,
    }
    
    var cgoSyscallExclude = map[string]bool{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
Back to top