diff options
author | Thomas Voss <mail@thomasvoss.com> | 2025-06-13 21:57:21 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2025-06-13 21:57:21 +0200 |
commit | 15ce042bd7ddf2cec9deca7c827d2ce93c4d11cd (patch) | |
tree | 5484df85eaa808d60278569047859606d9bf83f1 /src/http.go | |
parent | c7ad83472710a7e72d7566b09f2eb223708e1343 (diff) |
Rename the src package to app
Diffstat (limited to 'src/http.go')
-rw-r--r-- | src/http.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http.go b/src/http.go index 4c2f5c6..c9896b5 100644 --- a/src/http.go +++ b/src/http.go @@ -1,4 +1,4 @@ -package src +package app import ( "cmp" @@ -43,7 +43,7 @@ func Run(port int) { portStr := ":" + strconv.Itoa(port) log.Println("Listening on", portStr) err := http.ListenAndServe(portStr, mux) - dbx.DB.Close() + dbx.Close() log.Fatal(err) } |