DEV Community

Ingmar
Ingmar

Posted on • Originally published at truefalse.micro.blog

2

🧳 gobundle: quickly update or install your Go tools

What it does

gobundle makes your Go tools portable and allows you to keep them up to date. It uses a simple JSON configuration file. If executed without any flags gobundle tries to install the specified tools in your ~/.gobundle configuration.

You can also "dump" your existing, installed Go tools with gobundle -d.

Why I created it

I use gobundle to keep the following tools up to date:

In my .gobundle I use "lastest" as version. If you run gobundle it runs go get host.tld/project/name@version. Using "master" or any other SemVer tag is also possible to pin a tool to a specific version.

Other use cases

You can also use gobundle to define your basic Go toolset. If you have a new computer or updated your Go installation, just run gobundle again to reinstall your tools using the latest Go version.

Give it a try

Give it a star on GitHub: github.com/iwittkau/gobundle.

To install run:

GO111MODULE=on go get github.com/iwittkau/gobundle/cmd/gobundle@latest

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay