MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / handler

Function handler

__tests__/go-stdlib-named-locals.test.ts:472–477  ·  view source on GitHub ↗
(param: string)

Source from the content-addressed store, hash-verified

470 write('gin/context.go', files['gin/context.go']!);
471 // The call keeps its line and column: a stale reading would still see the parameter.
472 const handler = (param: string) => `package gin
473
474func handler(${param} *Context) {
475 context.Next()
476}
477`;
478 write('gin/handler.go', handler('context'));
479 const synced = await CodeGraph.init(dir, { index: true });
480 try {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected