aboutsummaryrefslogtreecommitdiff
path: root/cmd/web/serve-self.go
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2021-03-04 18:50:47 -0500
committerMitch Riedstra <mitch@riedstra.us>2021-03-04 18:50:47 -0500
commit3b6f5647b0689abf04be73c3cf00297051753435 (patch)
tree3de6871abf37849c1e9f86dfc90ee2b3ed74c66e /cmd/web/serve-self.go
parenteaf02771d767e4745572d9b00e71e138ee030e60 (diff)
downloadsteam-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/serve-self.go')
-rw-r--r--cmd/web/serve-self.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/web/serve-self.go b/cmd/web/serve-self.go
index 103fbf1..8abb830 100644
--- a/cmd/web/serve-self.go
+++ b/cmd/web/serve-self.go
@@ -2,8 +2,8 @@ package main
import (
"io"
- "os"
"net/http"
+ "os"
)
func serveSelf(w http.ResponseWriter, r *http.Request) {