How to build and install a golang module for local use?

Viewed 21

Im new to GO and coming from a java background. I have been looking at the docs but not seeing a way to do what I want to do. I have 2 GO projects that are local. One project has a module that I want to import into another project. For various reasons I want this all done locally and don't want it coming from a remote repo. I'd like to build/install the module that I want to import and then I want to use a simple import statement in the other project to import that built module. Is this possible with go? If so how?

0 Answers
Related