How to Test Local Changes with Go Mod

  • Another github.com/acme/foo module that depends on the first one
go mod edit -replace github.com/acme/bar=/path/to/local/bar
Follow me on Twitter @teivah

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store