News for hackers. Stuff that matters.
Re:Go Developer Survey 2021 Results by ratrocket on Wednesday April 20, 2022 @01:10PM (#31099985)
I share your opinion of the new official doc site, and also use https://godocs.io when I need online docs for something.

But as another alternative, a sibling comment mentions running the docs locally, which is my main way to access the docs now. For anyone else wanting to try it:

> godoc -http 127.0.0.1:6060 -play

(the "-play" makes the examples runnable)

Works like a charm!

Re:Go Developer Survey 2021 Results by svnpenn on Wednesday April 20, 2022 @03:15PM (#31101596)
godoc is not a built-in command, even for Go users. So your comment is not especially useful.
Re:Go Developer Survey 2021 Results by ratrocket on Wednesday April 20, 2022 @04:45PM (#31102775)
Apologies for forgetting that `godoc` isn't built in (and looks like jerf has fixed you up). I'd argue about what's "not especially useful", but "reasonable people will disagree", as they say!
Re:Go Developer Survey 2021 Results by jerf on Wednesday April 20, 2022 @03:52PM (#31102058)

    go install https://pkg.go.dev/golang.org/x/tools/cmd/godoc
Re:Go Developer Survey 2021 Results by svnpenn on Wednesday April 20, 2022 @06:02PM (#31103652)
thats not a valid URL, in the context of "go install"
Re:Go Developer Survey 2021 Results by jerf on Thursday April 21, 2022 @09:55AM (#31109453)
Yeah, good point. Still, it's not a hard install.