This question already has an answer here:
- Using binary packages directly 3 answers
I have couple files with same code, one package for example mailer
, shared between two projects
in Go. In both projects I have copied exactly the same code and it works.
Is possible in Go to create something like static or dynamic library, like in c or c++, and remove source from both projects and put on one neutral place ?
How to achieve this in Go ?
</div>