func flag.Bool
13 uses
flag (current package)
flag.go#L649: func Bool(name string, value bool, usage string) *bool {
golang.org/x/pkgsite/cmd/frontend
main.go#L37: devMode = flag.Bool("dev", false, "enable developer mode (reload templates on each page load, serve non-minified JS/CSS, etc.)")
main.go#L38: disableCSP = flag.Bool("nocsp", false, "disable Content Security Policy")
main.go#L41: directProxy = flag.Bool("direct_proxy", false, "if set to true, uses the module proxy referred to by this URL "+
main.go#L43: bypassLicenseCheck = flag.Bool("bypass_license_check", false, "display all information, even for non-redistributable paths")
golang.org/x/pkgsite/cmd/pkgsite
main.go#L43: gopathMode = flag.Bool("gopath_mode", false, "assume that local modules' paths are relative to GOPATH/src")
golang.org/x/pkgsite/cmd/worker
main.go#L42: bypassLicenseCheck = flag.Bool("bypass_license_check", false, "insert all data into the DB, even for non-redistributable paths")
golang.org/x/pkgsite/devtools/cmd/css
main.go#L39: var write = flag.Bool("write", false, "append modifications to content/static/css/stylesheet.css")
testing
benchmark.go#L27: benchmarkMemory = flag.Bool("test.benchmem", false, "print memory allocations for benchmarks")
testing.go#L273: short = flag.Bool("test.short", false, "run smaller test suite to save time")
testing.go#L276: failFast = flag.Bool("test.failfast", false, "do not start new tests after the first test failure")
testing.go#L284: chatty = flag.Bool("test.v", false, "verbose: print additional output")
testing.go#L296: panicOnExit0 = flag.Bool("test.paniconexit0", false, "panic on call to os.Exit(0)")
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |