Go 1.24 introduces a new way to manage developer tooling dependencies, improving on previous workarounds. The new flag -tool for go get allows you to add, list, verify, vendor, upgrade, and remove tools for development, testing, build, or deployment within your module. This update simplifies managing tool dependencies, especially in team settings.

5m read timeFrom alexedwards.net
Post cover image
Table of contents
A quick exampleAdding tools to your moduleUsing toolsListing toolsVerifying toolsVendoring toolsUpgrading and downgrading toolsRemoving tools

Sort: