Top Marks Go Package Manager

If you like what we do, then a sponsorship, or one time donation would mean the world!

Why not join the discord community for devs everywhere:

Like it?
Leave a review
(please)
Something wrong?
Report an issue
Browse, update and change the module requirements of every go.mod in your workspace, through your
own Go and your own module proxy.
Project links
[!IMPORTANT]
This extension is in preview. In a workspace you trust it runs go to change your go.mod (and
go.sum) when you click Install, Update, Uninstall, Create go.sum or Consolidate; it never runs
Go to read, and runs nothing in a workspace you have not trusted. Report problems through GitHub
Issues.
Features
- Installed, Vulnerable, Updates and Consolidate for every
go.mod, with the versions go.mod
records and whether go.sum holds their hashes.
go.work workspaces read as Go reads them, with each member's hashes from its own go.sum or
the workspace's go.work.sum.
- Changes through your own Go:
go get and go mod edit -droprequire, one module per project,
every result read back and listed. Create go.sum records hashes for a project that has none.
- Vulnerabilities from OSV, only in a workspace you trust. A module that
could not be checked is named, never shown as safe.
- Sources lists your proxies,
GOPRIVATE, GONOPROXY and GONOSUMDB, and where credentials
come from.
- Browse looks a module up by its whole path in your proxy.
- Readable in every built-in theme, with the layout and controls the other managers share.
The user guide describes each tab and every rule in full.
Getting started
- Install this extension. The Top Marks Package Managers container in the Activity Bar comes
with it.
- Open a folder that holds a
go.mod, and open Go Package Manager in that container.
- Browse your modules and their updates straight away, through your own proxies with no credential.
Vulnerability checks, private proxies' credentials and changes wait until you trust the
workspace: until then nothing is run or changed.
- A project with requirements and no
go.sum needs Create go.sum before Install and Update.
Requirements
- VS Code 1.116 or later. An older VS Code does not load the extension: it says the extension is
not compatible and names the version it requires.
- Listing projects needs neither Go nor a network:
go.mod, go.sum and go.work are read by
the extension.
- Changes need Go 1.21 or later, on your
PATH outside the workspace or set in the setting
below.
Settings
| Setting |
Default |
What it does |
topMarksGoPackageManager.goPath |
"" |
The Go program: an absolute path, or a command name on the PATH. Empty uses go |
It is a machine setting, read from your own settings only, so a workspace cannot choose which
program runs. Every run sets GOTOOLCHAIN=local. If go on your PATH is a version manager's
shim, set goPath to the real program.
Private registries
Your proxies and private patterns come from your own Go configuration (GOPROXY, GOPRIVATE,
GONOPROXY, from the environment and your go env file); a go.mod cannot name one. A module that
GOPRIVATE or GONOPROXY covers is never sent to a proxy, nor to OSV. In a trusted workspace a
proxy gets your credential from your own .netrc, or from its GOPROXY entry, only when GOAUTH
is netrc. Before trust every proxy is asked as the public, and a proxy Go would have sent a
credential to ends the lookup on any answer but a success, so its modules wait for trust.
Your Go configuration in the user guide has the
details.
Part of Top Marks Package Managers
This extension is one of a family of package managers for VS Code that share a layout and a home in
the Top Marks Package Managers Activity Bar container. See the suite overview
for the rest of the family:
Licence
Copyright (c) 2026 Top Marks Development Limited. Licensed under
GNU Affero General Public License v3.0 only.
The view's icons are Codicons by Microsoft, licensed
under CC BY 4.0; the licence ships with the font in
media/codicons/.