Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Top Marks Go Package ManagerNew to Visual Studio Code? Get it now.
Top Marks Go Package Manager

Top Marks Go Package Manager

Preview

Top Marks Development

| (0) | Free
Browse the Go module requirements of every go.mod in a workspace, with the versions go.mod records, go.work workspaces and their members, and the module proxy your own Go configuration names.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Top Marks Go Package Manager

Marketplace version Installs Rating Licence: AGPL-3.0-only

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

Support us on ko-fi Buy me a coffee PayPal donate button Sponsor through GitHub

Why not join the discord community for devs everywhere: Discord


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

  • Getting started
  • Features
  • Requirements
  • Settings
  • Private registries
  • User guide
  • Known limits
  • Security
  • Changelog
  • Licence

[!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

  1. Install this extension. The Top Marks Package Managers container in the Activity Bar comes with it.
  2. Open a folder that holds a go.mod, and open Go Package Manager in that container.
  3. 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.
  4. 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:

  • NuGet Package Manager
  • JavaScript Package Manager
  • Composer Package Manager
  • Cargo Package Manager
  • Python Package Manager
  • Maven Package Manager
  • Dart Package Manager

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/.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft