demo: Fixing incorrect log line - should be generalized to 'web server'
@@ -71,7 +71,7 @@ func debugServer() {
router.HandleFunc(h.path, h.fn).Methods(h.method)
}
http.HandleFunc("/favicon.ico", func(w http.ResponseWriter, r *http.Request) {})
- log.Info().Msgf("Bookstore running on port %d", *port)
+ log.Info().Msgf("Web server running on port %d", *port)
err := http.ListenAndServe(fmt.Sprintf(":%d", *port), router)
log.Fatal().Err(err).Msgf("Failed to start HTTP server on port %d", *port)
}
