Hello
We have a shared PRIVATE repository of Go packages, and need to use them for different programs deployed to Heroku.
We have our shared code and programs all importing using full
and
type syntax.
This works fine locally, where the repositories are all available.
When pushing to Heroku, however, the shared code obviously isn't accessible without authentication.
I've tried using git submodules, but Go doesn't like that, since I have to have a different import path for the shared packages then.
This might in many ways be more efficient, but now I have the trouble of not being able to cross-compile (to Linux AMD64) from Darwin since I use CGO.
Any bright ideas for a source-deploying method or a binary-cross-compile method? Either way I'm kind of stuck.
Tor