MCPcopy Index your code
hub / github.com/tinylib/msgp / fillErrorCtxAsTuple

Function fillErrorCtxAsTuple

_generated/errorwrap_test.go:29–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27}
28
29func fillErrorCtxAsTuple() *ErrorCtxAsTuple {
30 v := &ErrorCtxAsTuple{}
31 v.Val = "foo"
32 v.ComplexChild = &ErrorCtxTupleChildNotInline{Val1: "a", Val2: "b", Val3: "c", Val4: "d", Val5: "e"}
33 v.Child = &ErrorCtxTupleChild{Val: "foo"}
34 v.Children = []*ErrorCtxTupleChild{{Val: "foo"}, {Val: "bar"}}
35 v.Map = map[string]string{"foo": "bar", "baz": "qux"}
36 v.Nest.Val = "foo"
37 v.Nest.Child = &ErrorCtxTupleChild{Val: "foo"}
38 v.Nest.Children = []*ErrorCtxTupleChild{{Val: "foo"}, {Val: "bar"}}
39 v.Nest.Map = map[string]string{"foo": "bar", "baz": "qux"}
40 v.Nest.Nest.Val = "foo"
41 v.Nest.Nest.Child = &ErrorCtxTupleChild{Val: "foo"}
42 v.Nest.Nest.Children = []*ErrorCtxTupleChild{{Val: "foo"}, {Val: "bar"}}
43 v.Nest.Nest.Map = map[string]string{"foo": "bar", "baz": "qux"}
44 return v
45}
46
47type dodgifierBuf struct {
48 *bytes.Buffer

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…