Skip to content

Commit 3feb4fe

Browse files
committed
adding sleep
1 parent daeb0af commit 3feb4fe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

main.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import (
66
"os"
77
"strconv"
88
"strings"
9+
"time"
910

1011
"github.com/gofrs/uuid"
1112
)
@@ -125,6 +126,7 @@ func main() {
125126
fmt.Println(line)
126127
}
127128
fmt.Println()
129+
time.Sleep(time.Minute * 3)
128130
fmt.Printf("==> Server listening at %s 🚀\n", bindAddr)
129131

130132
err := http.ListenAndServe(fmt.Sprintf(":%s", port), nil)

0 commit comments

Comments
 (0)