Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
describe
Function · 0.85
mainGo
Function · 0.85
edges
Function · 0.70
close
Method · 0.65
Tested by
no test coverage detected