From 3b6f5647b0689abf04be73c3cf00297051753435 Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Thu, 4 Mar 2021 18:50:47 -0500 Subject: Refactor. Pull most of the functions into methods off of an App struct. Kill most global variables. --- cmd/web/windows.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cmd/web/windows.go') diff --git a/cmd/web/windows.go b/cmd/web/windows.go index 034e347..f59761a 100644 --- a/cmd/web/windows.go +++ b/cmd/web/windows.go @@ -10,8 +10,7 @@ import ( var DefaultLib string = `C:\Program Files (x86)\Steam\steamapps` func startBrowser() { - time.Sleep(time.Second*3) + time.Sleep(time.Second * 3) c := exec.Command("cmd", "/c", "start", "http://127.0.0.1"+Listen) Logger.Printf("Running command: %s", c.Run()) } - -- cgit v1.2.3