From 742938b00222c7ad57ad11eb24850d9202c2503d Mon Sep 17 00:00:00 2001 From: Mitchell Riedstra Date: Wed, 4 Aug 2021 20:06:07 -0400 Subject: Pretty large structural changes. Non-building development snapshot --- cmd/web/app.go | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'cmd/web/app.go') 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) -- cgit v1.2.3