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

Struct readlineUI

pprof.go:41–43  ·  view source on GitHub ↗

readlineUI implements the driver.UI interface using the github.com/chzyer/readline library. This is contained in pprof.go to avoid adding the readline dependency in the vendored copy of pprof in the Go distribution, which does not use this file.

Source from the content-addressed store, hash-verified

39// dependency in the vendored copy of pprof in the Go distribution,
40// which does not use this file.
41type readlineUI struct {
42 rl *readline.Instance
43}
44
45func newUI() driver.UI {
46 rl, err := readline.New("")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected