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

Function gce

__tests__/go-func-field-dispatch.test.ts:399–412  ·  view source on GitHub ↗
(options: string)

Source from the content-addressed store, hash-verified

397 };
398 // A file that only wires: no method, no struct of its own.
399 const gce = (options: string) => `package gce
400
401import (
402 "context"
403
404 "example.com/app/discovery/refresh"
405)
406
407func refreshInstances(ctx context.Context) ([]*refresh.Group, error) { return nil, nil }
408
409func NewDiscovery() *refresh.Discovery {
410 return refresh.NewDiscovery(refresh.Options{${options}})
411}
412`;
413 write('go.mod', FILES['go.mod']!);
414 write('discovery/refresh/refresh.go', FILES['discovery/refresh/refresh.go']!);
415 write('discovery/gce/gce.go', gce('Mech: "gce"'));

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected