diff options
author | tjpcc <tjp@ctrl-c.club> | 2023-05-03 12:22:36 -0600 |
---|---|---|
committer | tjpcc <tjp@ctrl-c.club> | 2023-05-03 12:22:36 -0600 |
commit | bc8015c8803678d991de1d58cb407de100516d78 (patch) | |
tree | 09036b7e05f554056ee34fa783ba23506a4a7a22 /logging | |
parent | def2baade5a4af58e3444cf6c923b1e4de584329 (diff) |
linter fixes
Diffstat (limited to 'logging')
-rw-r--r-- | logging/middleware.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/logging/middleware.go b/logging/middleware.go index b19c273..750f987 100644 --- a/logging/middleware.go +++ b/logging/middleware.go @@ -18,7 +18,7 @@ func LogRequests(logger Logger) sr.Middleware { response.Body = loggingBody(logger, request, response, start) } else { end := time.Now() - logger.Log( + _ = logger.Log( "msg", "request", "ts", end.UTC(), "dur", end.Sub(start), |