aboutsummaryrefslogtreecommitdiff
path: root/cmd/web/app.go
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2021-08-04 20:06:07 -0400
committerMitchell Riedstra <mitch@riedstra.dev>2021-08-04 20:06:07 -0400
commit742938b00222c7ad57ad11eb24850d9202c2503d (patch)
treee0d1d033027d5dd553c213ed41bb8ae201d6a285 /cmd/web/app.go
parenta5a49ff08056a67cc57435f219aa157342a0d9a0 (diff)
downloadsteam-export-742938b00222c7ad57ad11eb24850d9202c2503d.tar.gz
steam-export-742938b00222c7ad57ad11eb24850d9202c2503d.tar.xz
Pretty large structural changes. Non-building development snapshot
Diffstat (limited to 'cmd/web/app.go')
-rw-r--r--cmd/web/app.go10
1 files changed, 2 insertions, 8 deletions
diff --git a/cmd/web/app.go b/cmd/web/app.go
index bc8385a..9ab1c0e 100644
--- a/cmd/web/app.go
+++ b/cmd/web/app.go
@@ -8,12 +8,6 @@ import (
"riedstra.dev/mitch/steam-export/steam"
)
-// steamLib is a steam libary with an embeded mutex to protect it
-type steamLib struct {
- steam.Library
- sync.Mutex
-}
-
// statusInfo represents the internal status of game installation
type statusInfo struct {
sync.RWMutex
@@ -76,8 +70,8 @@ func (a *App) LibrarySet(path string) {
Logger.Println("Done reloading lib")
}
-// LibraryReload calls LibrarySet but with the current directory, forcing a reload of
-// information off of disk.
+// LibraryReload calls LibrarySet but with the current directory, forcing a
+// reload of information off of disk.
func (a *App) LibraryReload() {
cur := a.Library.Folder
a.LibrarySet(cur)