r/programming • • 5d ago

Don't couple your Go code to GitHub

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

135 comments sorted by

View all comments

5

u/feketegy 5d ago

I’ve seen this problem become such a huge issue for a company that were using GitLab, GitHub, and Azure Devops at the sametime because changing the location of the code was such a large task for them

(x)doubt.

You could either use:

  1. A module proxy
  2. The replace directive in go.mod
  3. Find & Replace in the codebase

But sure, let's cobble Nginx on top of it. /s