Hacker News new | ask | show | jobs
by lorecore 38 days ago
Go handles this well, kind of. It's super easy (in fact, transparent) to import from GitHub urls. You can self-host your Go packages, but it involves making and hosting some manifest files. Not as seamless as using GitHub, but still totally doable.
1 comments

In practice, Go is much, much more github dependent than rust, most go packages are on github
Aren't all the ones in the actual Go registry mirrored, though? I thought I read that. They also make it trivial to vendor dependencies, idk if Crates handles that
Crates.io hosts source code independently of GitHub.

Cargo also makes vendoring dependencies trivial.