- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for gofmt (0.21 sec)
-
src/syscall/rlimit.go
// (limited by the size of fd_set). // // Go does not use select, so it should not be subject to these limits. // On some systems the limit is 256, which is very easy to run into, // even in simple programs like gofmt when they parallelize walking // a file tree. // // After a long discussion on go.dev/issue/46279, we decided the // best approach was for Go to raise the limit unconditionally for itself,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 20:13:57 UTC 2024 - 1.6K bytes - Viewed (0) -
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) -
src/os/exec/exec_test.go
} func TestAbsPathExec(t *testing.T) { testenv.MustHaveExec(t) testenv.MustHaveGoBuild(t) // must have GOROOT/bin/gofmt, but close enough // A simple exec of a full path should work. // Go 1.22 broke this on Windows, requiring ".exe"; see #66586. exe := filepath.Join(testenv.GOROOT(t), "bin/gofmt") cmd := exec.Command(exe) if cmd.Path != exe { t.Errorf("exec.Command(%#q) set Path=%#q", exe, cmd.Path) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 20:13:53 UTC 2024 - 48.4K bytes - Viewed (0) -
pkg/features/kube_features.go
// To add a new feature, define a key for it above and add it here. The features will be // available throughout Kubernetes binaries. // // Entries are separated from each other with blank lines to avoid sweeping gofmt changes // when adding or removing one entry. var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureSpec{ CrossNamespaceVolumeDataSource: {Default: false, PreRelease: featuregate.Alpha},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 22:51:23 UTC 2024 - 45.2K bytes - Viewed (0) -
src/cmd/go/internal/help/helpdoc.go
building the package for Windows; similarly, math_386.s will be included only when building the package for 32-bit x86. Go versions 1.16 and earlier used a different syntax for build constraints, with a "// +build" prefix. The gofmt command will add an equivalent //go:build constraint when encountering the older syntax. `,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 16:54:28 UTC 2024 - 36.3K bytes - Viewed (0)