I have two local git repositories.  Both are go modules.  Call them, foo.com/one and foo.com/two.  Both have go.mod files declaring themselves to be, respectively, foo.com/one and foo.com/two based on go 1.15.

I want to use a package from one in the other.

   import "foo.com/one/pkg/thing1"

Short of publishing one of them on github, how do I do that?  Do I need to copy or symlink something?  Set some environment variables?

--
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/8a5d8a09-ca24-a8ff-2dc4-2c6cbbf58b0a%40juniper.net.

Reply via email to