Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/grpc-ecosystem/grpc-gateway
/ mustGetReader
Function
mustGetReader
internal/codegenerator/parse_req_test.go:57–63 ·
view source on GitHub ↗
(pb proto.Message)
Source
from the content-addressed store, hash-verified
55
}
56
57
func
mustGetReader(pb proto.Message) io.Reader {
58
b, err := proto.Marshal(pb)
59
if
err != nil {
60
panic(err)
61
}
62
return
bytes.NewBuffer(b)
63
}
64
65
type
invalidReader
struct
{
66
}
Callers
1
parse_req_test.go
File · 0.85
Calls
1
Marshal
Method · 0.65
Tested by
no test coverage detected