MCPcopy Create free account
hub / github.com/cloudspannerecosystem/spanner-cli / mustNewStruct

Function mustNewStruct

query_plan_test.go:15–21  ·  view source on GitHub ↗
(m map[string]interface{})

Source from the content-addressed store, hash-verified

13)
14
15func mustNewStruct(m map[string]interface{}) *structpb.Struct {
16 if s, err := structpb.NewStruct(m); err != nil {
17 panic(err)
18 } else {
19 return s
20 }
21}
22
23func TestRenderTreeUsingTestdataPlans(t *testing.T) {
24 for _, test := range []struct {

Callers 2

TestRenderTreeWithStatsFunction · 0.85
TestNodeStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected