switched to log.Print

This commit is contained in:
Bronku 2025-06-23 12:13:22 +02:00
parent 65709049d7
commit a98577ad18
2 changed files with 3 additions and 4 deletions

View file

@ -19,8 +19,8 @@ func main() {
defer h.Close()
var handler http.Handler = h
handler = logging.Middleware(handler)
handler = auth.New(s).Middleware(handler)
handler = logging.Middleware(handler)
fmt.Println("starting server")
log.Fatal(http.ListenAndServe(":8080", handler))
}