1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
|
package _generated
//go:generate msgp
// The leaves of interest in this crazy structs are strings. The test case
// looks for strings in the serialised msgpack and makes them unreadable.
type ErrorCtxMapChild struct {
Val string
}
type ErrorCtxMapChildNotInline struct {
Val1, Val2, Val3, Val4, Val5 string
}
type ErrorCtxAsMap struct {
Val string
Child *ErrorCtxMapChild
Children []*ErrorCtxMapChild
ComplexChild *ErrorCtxMapChildNotInline
Map map[string]string
Nest struct {
Val string
Child *ErrorCtxMapChild
Children []*ErrorCtxMapChild
Map map[string]string
Nest struct {
Val string
Child *ErrorCtxMapChild
Children []*ErrorCtxMapChild
Map map[string]string
}
}
}
//msgp:tuple ErrorCtxTupleChild
type ErrorCtxTupleChild struct {
Val string
}
//msgp:tuple ErrorCtxTupleChildNotInline
type ErrorCtxTupleChildNotInline struct {
Val1, Val2, Val3, Val4, Val5 string
}
//msgp:tuple ErrorCtxAsTuple
type ErrorCtxAsTuple struct {
Val string
Child *ErrorCtxTupleChild
Children []*ErrorCtxTupleChild
ComplexChild *ErrorCtxTupleChildNotInline
Map map[string]string
Nest struct {
Val string
Child *ErrorCtxTupleChild
Children []*ErrorCtxTupleChild
Map map[string]string
Nest struct {
Val string
Child *ErrorCtxTupleChild
Children []*ErrorCtxTupleChild
Map map[string]string
}
}
}
|