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

Function newDefaultDumpOptions

dump.go:109–117  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

107}
108
109func newDefaultDumpOptions() *DumpOptions {
110 return &DumpOptions{
111 Output: os.Stdout,
112 RequestBody: true,
113 ResponseBody: true,
114 ResponseHeader: true,
115 RequestHeader: true,
116 }
117}
118
119func newDumper(opt *DumpOptions) *dump.Dumper {
120 if opt == nil {

Callers 2

newDumperFunction · 0.85
getDumpOptionsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…