MCPcopy Index your code
hub / github.com/colbymchenry/codegraph / getGoModule

Method getGoModule

src/resolution/types.ts:118–118  ·  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

116 * cross-package imports from third-party packages.
117 */
118 getGoModule?(): import('./go-module').GoModule | null;
119 /**
120 * Monorepo workspace member packages, keyed by declared package name.
121 * Returns `null` for single-package repos (no `workspaces` field).

Callers 2

isExternalImportFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected