Don't couple your Go code to GitHub
- Iain Cambridge Home Blog CategoriesSep 27, 2026One of the good features of Go is that you namespace your code with the location to fetch the code.
- This means if you host your Go code at http://github.com/thetrueares/boneclone then you have the line import “github.com/thetrueares/boneclone” and Go will fetch it using git.
- This makes it super easy to know where to go to report bugs for open source libraries and really easy to fetch and distribute go libraries without a centralised package management system.
Unverified
- Iain Cambridge Home Blog CategoriesSep 27, 2026One of the good features of Go is that you namespace your code with the location to fetch the code.
- This means if you host your Go code at http://github.com/thetrueares/boneclone then you have the line import “github.com/thetrueares/boneclone” and Go will fetch it using git.
- This makes it super easy to know where to go to report bugs for open source libraries and really easy to fetch and distribute go libraries without a centralised package management system.
Sources: Iain