In Hello Go app example, add a line 'Starting webserver...'
geerlingguy opened this issue · comments
Jeff Geerling commented
Add the following line in main()
in the hello.go
app:
log.Printf("Starting webserver on %s", addr)
(After the handler
line.)
That way, when you start the server, you see a message that makes it obvious the app is ready to serve requests:
$ go run cmd/hello/hello.go
2020/11/24 17:24:49 Starting webserver on :8180