Workaround for go get not working with go.work: parse go get errors, and if it's complaining about
a missing package that is defined in one of the go.work "use" paths, it will add a suggestion the user
add a go.mod replace rule.
Added %goworkfix to add use clauses as replace clauses in go.mod.
go get
not working withgo.work
: parsego get
errors, and if it's complaining about a missing package that is defined in one of thego.work
"use" paths, it will add a suggestion the user add ago.mod
replace rule.%goworkfix
to adduse
clauses asreplace
clauses ingo.mod
.See discussion in issue #31 .