Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/tools/cmd/godoc: add UI to change GOOS or GOARCH #22178

Open
nhooyr opened this issue Oct 8, 2017 · 2 comments
Open

x/tools/cmd/godoc: add UI to change GOOS or GOARCH #22178

nhooyr opened this issue Oct 8, 2017 · 2 comments
Labels
Milestone

Comments

@nhooyr
Copy link
Contributor

@nhooyr nhooyr commented Oct 8, 2017

In a recent reddit post a user submitted a tip regarding how to view the syscall package docs for different a GOOS and GOARCH.

They noticed that if you append a query to the URL such as ?GOOS=darwin&GOARCH=mips64le, you can control the GOOS and GOARCH of the displayed docs.

This definitely works but it is hard to use and discover. It would be nice if this feature had some UI element so that a user could just select the GOOS and GOARCH from a list and have the docs for that GOOS and GOARCH.

@rakyll

This comment has been minimized.

Copy link
Member

@rakyll rakyll commented Oct 8, 2017

Duplicate of golang/gddo#188.

@rakyll rakyll closed this Oct 8, 2017
@rakyll rakyll reopened this Oct 8, 2017
@rakyll

This comment has been minimized.

Copy link
Member

@rakyll rakyll commented Oct 8, 2017

Reopening because the request also requires a tracking issue for x/tools/cmd/godoc.

@rakyll rakyll changed the title godoc: add UI to change GOOS or GOARCH x/tools/cmd/godoc: add UI to change GOOS or GOARCH Oct 8, 2017
@gopherbot gopherbot added this to the Unreleased milestone Oct 8, 2017
@gopherbot gopherbot added the Tools label Sep 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.