Using local Go package path
Posted on 30 Mar, 2022
A bunch of times you might find yourself working with private Go packages that need to be tested locally. Go let's us do that with replace
in go.mod
file
After this, just run go get -u .
and restart your IDE for changes to make effect
Last updated