From a7110576d234cea16596c4c2279caa7e11d6ab32 Mon Sep 17 00:00:00 2001 From: Kevin Lewin <97046295+lewinkedrs@users.noreply.github.com> Date: Fri, 18 Oct 2024 18:29:59 -0400 Subject: [PATCH] Update app.go (#24) Reformat server listening log message so user could click from terminal or ide --- framework/h/app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/h/app.go b/framework/h/app.go index f32c560..42939f3 100644 --- a/framework/h/app.go +++ b/framework/h/app.go @@ -182,7 +182,7 @@ func (app *App) start() { } port := ":3000" - slog.Info(fmt.Sprintf("Server started on port %s", port)) + slog.Info(fmt.Sprintf("Server started at localhost:%s", port)) err := http.ListenAndServe(port, app.Router) if err != nil {