MCPcopy Index your code
hub / github.com/github/github-mcp-server / MustMarshal

Function MustMarshal

pkg/github/helper_test.go:739–745  ·  view source on GitHub ↗
(v any)

Source from the content-addressed store, hash-verified

737}
738
739func MustMarshal(v any) []byte {
740 data, err := json.Marshal(v)
741 if err != nil {
742 panic(err)
743 }
744 return data
745}
746
747type multiHandlerTransport struct {
748 handlers map[string]http.HandlerFunc

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected