go workspaces

With the release of Go 1.18, Workspaces allows you to reference local copies of project imports.

Workspaces are convenient when your projects share common dependencies.

Instead of pushing up code to get a new commit hash reference for your import, you can now reference your local copy.

This new ability has simplified development a lot for this scenario.

Thank you to the Go team for delivering such a helpful development capability.

example go.work file:

go 1.18

use .

replace github.com/myorg/mylib v1.0.1 => ../mylib

You'll only receive email when they publish something new.

More from andy stone
All posts