From 3feb4fec4b7b631793168e55ef40013e854bcce9 Mon Sep 17 00:00:00 2001 From: Soulan Saeng Date: Mon, 29 Apr 2024 13:22:24 -0400 Subject: [PATCH] adding sleep --- main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.go b/main.go index fc3cb3d..0541175 100644 --- a/main.go +++ b/main.go @@ -6,6 +6,7 @@ import ( "os" "strconv" "strings" + "time" "github.com/gofrs/uuid" ) @@ -125,6 +126,7 @@ func main() { fmt.Println(line) } fmt.Println() + time.Sleep(time.Minute * 3) fmt.Printf("==> Server listening at %s 🚀\n", bindAddr) err := http.ListenAndServe(fmt.Sprintf(":%s", port), nil)