MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / go-local-shadows-function.test.ts

File go-local-shadows-function.test.ts

__tests__/go-local-shadows-function.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * In Go a parameter or local declared in a function shadows a package-level
3 * function of the same name for the rest of its block, so a bare call to it
4 * — `run("x")` after `run := func…` or with a `run func(…)` parameter — calls

Callers

nothing calls this directly

Calls 4

describeFunction · 0.85
mainGoFunction · 0.85
edgesFunction · 0.70
closeMethod · 0.65

Tested by

no test coverage detected