diff options
| author | Mitch Riedstra <mitch@riedstra.us> | 2021-03-04 18:50:47 -0500 |
|---|---|---|
| committer | Mitch Riedstra <mitch@riedstra.us> | 2021-03-04 18:50:47 -0500 |
| commit | 3b6f5647b0689abf04be73c3cf00297051753435 (patch) | |
| tree | 3de6871abf37849c1e9f86dfc90ee2b3ed74c66e /cmd/web/windows.go | |
| parent | eaf02771d767e4745572d9b00e71e138ee030e60 (diff) | |
| download | steam-export-3b6f5647b0689abf04be73c3cf00297051753435.tar.gz steam-export-3b6f5647b0689abf04be73c3cf00297051753435.tar.xz | |
Refactor. Pull most of the functions into methods off of an App struct.
Kill most global variables.
Diffstat (limited to 'cmd/web/windows.go')
| -rw-r--r-- | cmd/web/windows.go | 3 |
1 files changed, 1 insertions, 2 deletions
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()) } - |
