From d047c36dd09b6169bf27c244196e99bb5df54c3a Mon Sep 17 00:00:00 2001 From: Mitchell Date: Sat, 20 Mar 2021 01:37:03 -0400 Subject: Update documentation. Remove all traces of chdir from the steam library. Remove most linter complaints. --- cmd/web/install.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'cmd/web/install.go') diff --git a/cmd/web/install.go b/cmd/web/install.go index dc85a89..e59a5c5 100644 --- a/cmd/web/install.go +++ b/cmd/web/install.go @@ -10,7 +10,7 @@ import ( "time" ) -func (a *App) installHttp(u string) error { +func (a *App) installHTTP(u string) error { Logger.Println("Installer: loading from url") resp, err := http.Get(u) if err != nil { @@ -97,7 +97,7 @@ func (a *App) installer() { a.Status.Unlock() if strings.HasPrefix(u, "http") { - err = a.installHttp(u) + err = a.installHTTP(u) } else { err = a.installPath(u) } @@ -111,4 +111,3 @@ func (a *App) installer() { a.LibraryReload() } } - -- cgit v1.2.3