MCPcopy Create free account
hub / github.com/google/pprof / Bool

Method Bool

driver/driver.go:91–91  ·  view source on GitHub ↗

Bool, Int, Float64, and String define new flags, like the functions of the same name in package flag.

(name string, def bool, usage string)

Source from the content-addressed store, hash-verified

89 // Bool, Int, Float64, and String define new flags,
90 // like the functions of the same name in package flag.
91 Bool(name string, def bool, usage string) *bool
92 Int(name string, def int, usage string) *int
93 Float64(name string, def float64, usage string) *float64
94 String(name string, def string, usage string) *string

Callers 6

profile_test.goFile · 0.65
parseFlagsFunction · 0.65
installConfigFlagsFunction · 0.65
driver_test.goFile · 0.65
BoolMethod · 0.65
dotgraph_test.goFile · 0.65

Implementers 2

testFlagsinternal/driver/driver_test.go
GoFlagsinternal/driver/flags.go

Calls

no outgoing calls

Tested by

no test coverage detected