formating

This commit is contained in:
DeveloperDurp 2024-09-28 08:27:53 -05:00
parent b4562a1da4
commit 3573b46fd9
3 changed files with 63 additions and 15 deletions

View file

@ -27,6 +27,12 @@ func Logging(next http.Handler) http.Handler {
}
next.ServeHTTP(wrapped, r)
log.Error("INFO", wrapped.statusCode, r.Method, r.URL.Path, time.Since(start))
log.Error(
"INFO",
wrapped.statusCode,
r.Method,
r.URL.Path,
time.Since(start),
)
})
}