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 way to select GOOS/GOARCH for syscall pkg #12988

Closed
techtonik opened this issue Oct 19, 2015 · 5 comments
Closed

x/tools/cmd/godoc: add way to select GOOS/GOARCH for syscall pkg #12988

techtonik opened this issue Oct 19, 2015 · 5 comments
Milestone

Comments

@techtonik
Copy link

https://golang.org/pkg/syscall/#pkg-variables
syscall documentation only shows docs for LInux, which makes it harder than necessary to troubleshoot cross-platform bugs
#12978 (comment)

@bradfitz bradfitz changed the title docs: show syscall documentation for all operating systems x/tools/cmd/godoc: add way to select GOOS/GOARCH for syscall pkg Oct 19, 2015
@bradfitz
Copy link
Contributor

This is super low priority since it basically only affects the syscall package, and people can just run godoc locally with GOOS= and GOARCH= set to see the syscall docs on another platform.

Maybe we could merge GOOS=windows and GOOS=linux symbols together in godoc by default for just the syscall package.

/cc @griesemer @adg

@bradfitz bradfitz added this to the Unplanned milestone Oct 19, 2015
@techtonik
Copy link
Author

@bradfitz do you have stats how often people run these commands? I am asking because I read and search for everything online.

@bradfitz
Copy link
Contributor

We don't track stats.

@bradfitz
Copy link
Contributor

bradfitz commented Feb 2, 2016

Pending CL at https://go-review.googlesource.com/1371

@bradfitz bradfitz modified the milestones: Go1.7, Unplanned Feb 2, 2016
@larzconwell
Copy link
Contributor

https://go-review.googlesource.com/#/c/1371/ Has been merged so this can probably be closed now.

You can change the default GOOS/GOARCH using the query string in golang.org/pkg requests.

@golang golang locked and limited conversation to collaborators Mar 13, 2017
@rsc rsc unassigned adg Jun 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants