r/programming • u/Sir_KnowItAll • Sep 27 '26
Don't couple your Go code to GitHub
https://iain.rocks/blog/dont-couple-your-go-code-to-github
491
Upvotes
r/programming • u/Sir_KnowItAll • Sep 27 '26
View all comments
Show parent comment
13
u/mattgen88 Sep 27 '26
I'm not? Also what does that have to do with hosting your own domain, certs, git infrastructure... It's more moving pieces where it's likely for things to go wrong.
Just mirror your code to multiple git repos like git was designed to do. That way no one can say make s GitHub/git lab/whatever account and package that is named the same, but malicious. People are most likely to expect a GitHub hosted package to be canonical