010: internal package gotchas

27/09/2022 14 min Episodio 10
010: internal package gotchas

Listen "010: internal package gotchas"

Episode Synopsis


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:StaticBackend repoGo package