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

Method Bool

internal/plugin/plugin.go:59–59  ·  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

57 // Bool, Int, Float64, and String define new flags,
58 // like the functions of the same name in package flag.
59 Bool(name string, def bool, usage string) *bool
60 Int(name string, def int, usage string) *int
61 Float64(name string, def float64, usage string) *float64
62 String(name string, def string, usage string) *string

Callers

nothing calls this directly

Implementers 2

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

Calls

no outgoing calls

Tested by

no test coverage detected