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

Method getGoModule

src/resolution/types.ts:150–150  ·  view source on GitHub ↗

* Go module info from `go.mod` at the project root. Returns `null` * when the project has no `go.mod` (non-Go projects, pre-modules * Go code, or projects whose modules live in subdirectories). Used * by the Go branch of import resolution to distinguish in-module * cross-package imports

()

Source from the content-addressed store, hash-verified

148 * cross-package imports from third-party packages.
149 */
150 getGoModule?(): import('./go-module').GoModule | null;
151 /**
152 * Monorepo workspace member packages, keyed by declared package name.
153 * Returns `null` for single-package repos (no `workspaces` field).

Callers 3

isExternalImportFunction · 0.80
matchGoFieldChainCallFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected