Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
go.dev: easy way to update packages #39336
What is the URL of the page with the issue?
What is your user agent?
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36
What did you do?
I pushed a new package/module to github.com/aclements/go-misc/stress2.
What did you expect to see?
I expected pkg.go.dev to try fetching the module since it wasn't in its cache, or at least to provide an easy way to pull the latest version (a link or button).
What did you see instead?
A 404 page. It includes a link to instructions on how to add a package, but those instructions aren't easy to follow. The package I pushed is a "main" package, so it's not going to be imported by something else that would pull it into the cache. And since I haven't version tagged it, I have no idea how to form the appropriate proxy.golang.org request. Finally, if this was an existing package I had updated and I simply wanted to refresh the documentation, pkg.go.dev wouldn't even offer me the link to the instructions.