Fixed some lint and code convention violations

This commit is contained in:
bwilliams committed 2026-10-16 14:43:37 +01:00
1 parent af7880ceac
commit 378ac59f41
6 files changed
+33 -11

No files matched your search

+3 -1
View File
@@ -172,7 +172,9 @@ func TestAccessLogHijack(t *testing.T) {
readWriter.WriteString("HTTP/1.1 204 No Content\r\n\r\n")
readWriter.Flush()
})
server := httptest.NewServer(AccessLog(log.New(&buffer, "", 0), true, handler))
server := httptest.NewServer(
AccessLog(log.New(&buffer, "", 0), true, handler),
)
defer server.Close()
res, err := http.Get(server.URL + "/hijacked")