-
Notifications
You must be signed in to change notification settings - Fork 0
Part of the ecosystems matrix. Go is special: a module path is its repository.
go.mod (declared modules) + go.sum (the full set with versions).
Go's transitive parent edges can't be reconstructed offline (that needs
go mod graph). postmortem builds a flat graph and emits a diagnostic
saying so, plus surfaces replace directives — so a flat result is never read as
"clean".
The module path already points at the repo, so it's parsed directly:
github.com/gin-gonic/gin → gin-gonic/gin. Works for GitHub, GitLab, and
Codeberg module paths.
Well-known custom domains are rewritten to their GitHub mirror (see Ecosystems & Hosts → Mirror rewrites):
| Path | Repo |
|---|---|
golang.org/x/<r> |
golang/<r> |
k8s.io/<r> |
kubernetes/<r> |
sigs.k8s.io/<r> |
kubernetes-sigs/<r> |
gopkg.in/<pkg>.vN |
go-<pkg>/<pkg> |
gopkg.in/<user>/<pkg>.vN |
<user>/<pkg> |
Irregular vanity paths (e.g. google.golang.org/grpc) have no fixed mapping and
resolve to no repository (unchecked) — deliberately not guessed.