MCPcopy Create free account
hub / github.com/imroc/req / newDumper

Function newDumper

dump.go:119–127  ·  view source on GitHub ↗
(opt *DumpOptions)

Source from the content-addressed store, hash-verified

117}
118
119func newDumper(opt *DumpOptions) *dump.Dumper {
120 if opt == nil {
121 opt = newDefaultDumpOptions()
122 }
123 if opt.Output == nil {
124 opt.Output = os.Stderr
125 }
126 return dump.NewDumper(dumpOptions{opt})
127}

Callers 2

EnableDumpMethod · 0.85
EnableDumpMethod · 0.85

Calls 2

NewDumperFunction · 0.92
newDefaultDumpOptionsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…