I recently created an exportable Go package from StaticBackend, an open source backend API which was self-hosted.
I ended up using the internal package way to heavily and this design decision bite me when I decided to create an exportable package. Now all things that needed to be expose that was in the internal package had to be refactored into their own packages.
Links:
09/27/22 • 14 min
Generate a badge
Get a badge for your website that links back to this episode
<a href="https://goodpods.com/podcasts/go-podcast-481108/010-internal-package-gotchas-64380017"> <img src="https://storage.googleapis.com/goodpods-images-bucket/badges/generic-badge-1.svg" alt="listen to 010: internal package gotchas on goodpods" style="width: 225px" /> </a>
Copy