Skip to content

Go Modules

Nick Irvine edited this page Sep 26, 2018 · 1 revision

Chamber is built using Go modules (available as experimental in Go 1.11) as of #144 as an experiment.

How does this affect me, a user of the Chamber program?

If you're installing via binary installation or package, it won't.

If you're installing via go get, it shouldn't. For the time being, we will support installation using either vendor.json or go.mod to track down dependencies.

I'm a developer importing Chamber as a library. How does this affect me?

You can use Chamber as a Go module!

I'm a developer hacking on Chamber. How does this affect me?

If you add new dependencies, or update existing ones, you need to ensure vendor/vendor.json and go.mod/go.sum are in sync, and should preferably refer to exactly the same code.