You can just tar up your ~/go/pkg/mod directory (plus your own sources) and you will be good.
On Wednesday, 24 March 2021 at 16:19:13 UTC jake...@gmail.com wrote: > > I believe I can't use replace? > > I'm glad the vendoring solution is what you want. But IIUC what you are > trying to do, then there is no reason you can not use replace. For example: > require gergrly/otherpackage v0.0.0 > replace gergrly/otherpackage => ../otherpackage > This works for me. You could then tar, the outer folder. > > > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/03ecf1f1-7441-41cc-8e76-6049d62e3dccn%40googlegroups.com.