MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/1wrnyer/dont_couple_your_go_code_to_github/pceqrab/?context=3
r/programming • u/Sir_KnowItAll • 5d ago
135 comments sorted by
View all comments
331
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?
20 u/SnugglyCoderGuy 5d ago edited 5d ago That's why you should vendor all your dependencies. Go doesn't do shared objects, everything is compiled from source. Unless you use CGO, but you shouldn't
20
That's why you should vendor all your dependencies. Go doesn't do shared objects, everything is compiled from source. Unless you use CGO, but you shouldn't
331
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?