I am new to go. I am working on a go project that cannot be in a single git repository. The exact case is that I have to make public a library I am developing and I at the same time have a private project that depends on it. I would assume that there are many other scenarios that such need could arise.
It seems the existing go dependency management is designed around the concept that components or other 3rd party dependencies will be moving in significant well-defined steps with switching to different repo locations.
In my case, I would like to grow my public and my private part of the code together, where I would like to have a setup that allows having a significant number of breaking changes. Where I can submit in my public library without breaking the build of the existing private project. And later moving my private dependent project to such version with the according fixes.
Creating different repo address for almost every change in my public library to achieve this seems overkill and expensive to do.
Any advice?