x/pkgsite: Use visitor's GOOS when viewing documentation. #45298
pkg.go.dev has the ability to show documentation for different
An example of this is https://pkg.go.dev/github.com/creack/pty, which when viewed on a windows machine shows a function
I would propose defaulting to the visitor's operating system when possible.
edit: clarified which host
The text was updated successfully, but these errors were encountered: