Cursed Bundler: Using go get to install Ruby Gems
11 points by telemachus
11 points by telemachus
When you write import "github.com/foo/bar", Go doesn’t look up “bar” in some central index.
Not sure if I remember correctly, but IIRC it doesn't just magically work, it only magically works on Github - other forges (or websites) need to implement something but I can't find the docs now.
Edit to clarify: the lookup works, but not the actual importing. Or I am misremembering.
You are likely thinking of the go-import meta tag which the go command uses to find the appropriate repository and VCS when it can’t tell automatically: https://go.dev/ref/mod#vcs-find
it's the go-import meta tag, and VCSes must implement this to be accessible by go. it is a simple ask IMO from forges (saying this as the maintainer of tangled! the relevant code is here).
I didn't say it wasn't just that I didn't agree with the author's framing of "it just works".
Also I'd probably if I had to implement this 15 times for every package manager/ecosystem. And then a 16th time when they finally agreed on a standard.
Particularly Interesting when combined with his other article: https://nesbitt.io/2025/12/24/package-managers-keep-using-git-as-a-database.html