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/serve-self.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/serve-self.go')
| -rw-r--r-- | cmd/web/serve-self.go | 2 |
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) { |
