Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
x/tools/cmd/godoc: start server before scanning $GOPATH #13278
When we run godoc, it doesn't show any notification that the server has started, typically when I need godoc up and running I am in a middle of a programming crisis and only the doc can save me, but sadly it doesn't print when it is ready, I have to wait for some time or keep refreshing the page in my browser 100 times before it actually is started. So it would be great if we print this message before the call to HandleAndServe function, a way to notify that the server is up and running
Is this not not covered by the -v flag?
There are a couple function calls between these logs and http.ListenAndServe, but they are in new goroutines.
Oops, so sorry about this. I can't remember why I did not run the tests. My bad.
Anyways, so the
I will send a CL with the proper fix.
On a side note, should we start running tests in try bots for this repo ?