You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hidden coupling (#17) and module depth (#18) read imports and exports through one adapter per language; only TypeScript/JavaScript has one. Go's syntax makes this cheap: import blocks name package paths, a package is a directory, and exported identifiers are capitalized.
Goal
Go repositories get Coupling.imports and Module.depth like TypeScript repositories do.
Acceptance criteria
A Go adapter (a lightweight scanner, no new native dependency) resolves import paths under the repository's go.mod module path to the package's universe files; imports of other modules are ignored.
It lists a package's exported identifiers (capitalized top-level func, type, var, const) for depth.
A fixture repository with an imported pair, a hidden pair, and a multi-module go.work layout proves both.
Activity