r/programming • • Sep 27 '26

Don't couple your Go code to GitHub

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

136 comments sorted by

View all comments

8

u/feketegy Sep 28 '26

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