MCPcopy
hub / github.com/github/github-mcp-server / parseBody

Function parseBody

internal/githubv4mock/githubv4mock.go:212–216  ·  view source on GitHub ↗
(r io.Reader)

Source from the content-addressed store, hash-verified

210}
211
212func parseBody(r io.Reader) (gqlRequest, error) {
213 var req gqlRequest
214 err := json.NewDecoder(r).Decode(&req)
215 return req, err
216}
217
218func Ptr[T any](v T) *T { return &v }

Callers 1

NewMockedHTTPClientFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected