{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/13278","labels_url":"https://api.github.com/repos/golang/go/issues/13278/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/13278/comments","events_url":"https://api.github.com/repos/golang/go/issues/13278/events","html_url":"https://github.com/golang/go/issues/13278","id":117165247,"number":13278,"title":"x/tools/cmd/godoc: should print \"starting on localhost:8000\"","user":{"login":"thewhitetulip","id":6261877,"avatar_url":"https://avatars.githubusercontent.com/u/6261877?v=3","gravatar_id":"","url":"https://api.github.com/users/thewhitetulip","html_url":"https://github.com/thewhitetulip","followers_url":"https://api.github.com/users/thewhitetulip/followers","following_url":"https://api.github.com/users/thewhitetulip/following{/other_user}","gists_url":"https://api.github.com/users/thewhitetulip/gists{/gist_id}","starred_url":"https://api.github.com/users/thewhitetulip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thewhitetulip/subscriptions","organizations_url":"https://api.github.com/users/thewhitetulip/orgs","repos_url":"https://api.github.com/users/thewhitetulip/repos","events_url":"https://api.github.com/users/thewhitetulip/events{/privacy}","received_events_url":"https://api.github.com/users/thewhitetulip/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-16T16:38:53Z","updated_at":"2015-11-17T07:17:38Z","closed_at":null,"body":"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"},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/157297040","html_url":"https://github.com/golang/go/issues/13278#issuecomment-157297040","issue_url":"https://api.github.com/repos/golang/go/issues/13278","id":157297040,"user":{"login":"jnjackins","id":449232,"avatar_url":"https://avatars.githubusercontent.com/u/449232?v=3","gravatar_id":"","url":"https://api.github.com/users/jnjackins","html_url":"https://github.com/jnjackins","followers_url":"https://api.github.com/users/jnjackins/followers","following_url":"https://api.github.com/users/jnjackins/following{/other_user}","gists_url":"https://api.github.com/users/jnjackins/gists{/gist_id}","starred_url":"https://api.github.com/users/jnjackins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnjackins/subscriptions","organizations_url":"https://api.github.com/users/jnjackins/orgs","repos_url":"https://api.github.com/users/jnjackins/repos","events_url":"https://api.github.com/users/jnjackins/events{/privacy}","received_events_url":"https://api.github.com/users/jnjackins/received_events","type":"User","site_admin":false},"created_at":"2015-11-17T07:17:38Z","updated_at":"2015-11-17T07:17:38Z","body":"Is this not not covered by the -v flag?\r\n\r\n```\r\n$ godoc -v -http :8000\r\n2015/11/17 16:08:58 Go Documentation Server\r\n2015/11/17 16:08:58 version = devel +babdb38 Tue Nov 17 04:06:32 2015 +0000\r\n2015/11/17 16:08:58 address = :8000\r\n2015/11/17 16:08:58 goroot = /Users/jnj/src/go\r\n2015/11/17 16:08:58 tabwidth = 4\r\n2015/11/17 16:08:58 search index disabled\r\nname space {\r\n\t/:\r\n\t\tgated(os(/Users/jnj/src/go), 20) /\r\n\t/lib/godoc:\r\n\t\tmapfs /\r\n\t/src:\r\n\t\tgated(os(/Users/jnj/src/go), 20) /src\r\n\t\tgated(os(/Users/jnj), 20) /src\r\n}\r\n```\r\n\r\nThere are a couple function calls between these logs and http.ListenAndServe, but they are in new goroutines."}}