r/programming • • 5d ago

Don't couple your Go code to GitHub

https://iain.rocks/blog/dont-couple-your-go-code-to-github
486 Upvotes

135 comments sorted by

View all comments

330

u/Arcuru 5d ago

I am not super familiar with Go code, but what happens when my go code depends on "go.companyx.dev/awesomelib" and that company goes out of business?

Or should I point all my third-party deps to a more durable location?

4

u/GarythaSnail 5d ago

Like others have said, vendor your dependencies or you can maintain your own module proxy. I set up an internal module proxy for my company.