From a1d3313299430c898f7c0e0cb444fba188af06fd Mon Sep 17 00:00:00 2001 From: cynic <cynic@mesh.kyun.li> Date: Thu, 13 Jun 2024 21:03:17 +0000 Subject: [PATCH] add port argument --- whoami.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/whoami.go b/whoami.go index 189d1c6..5dbea1e 100644 --- a/whoami.go +++ b/whoami.go @@ -33,7 +33,7 @@ func main() { if len(os.Args) > 1 { listenPort = os.Args[1] } - print("Listening on port:", listenPort, "\n") + print("Listening on port: ", listenPort, "\n") listenPort = strings.Join([]string{":", listenPort}, "") http.ListenAndServe(listenPort, nil) }