MCPcopy Index your code
hub / github.com/github/copilot-sdk / goParamsTypeName

Function goParamsTypeName

scripts/codegen/go.ts:478–484  ·  view source on GitHub ↗
(method: RpcMethod)

Source from the content-addressed store, hash-verified

476}
477
478function goParamsTypeName(method: RpcMethod): string {
479 const fallback = goRequestFallbackName(method);
480 if (method.rpcMethod.startsWith("session.") && method.params?.$ref) {
481 return fallback;
482 }
483 return getRpcSchemaTypeName(getMethodParamsSchema(method), fallback);
484}
485
486// ── Session Events (custom codegen — per-event-type data structs) ───────────
487

Callers 4

generateRpcFunction · 0.85
emitMethodFunction · 0.85

Calls 3

goRequestFallbackNameFunction · 0.85
getRpcSchemaTypeNameFunction · 0.85
getMethodParamsSchemaFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…