From ca33a035c779ae14fb6330c8801c75f49dd1bb79 Mon Sep 17 00:00:00 2001 From: Mitchell Riedstra Date: Sat, 7 Jan 2023 13:31:23 -0500 Subject: Add an internal caching option. It performs quite well. Also refactor and clean up most linter warnings. --- rediscache/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rediscache') diff --git a/rediscache/main.go b/rediscache/main.go index b504a24..0135534 100644 --- a/rediscache/main.go +++ b/rediscache/main.go @@ -68,7 +68,7 @@ func (rw *redisHTTPResponseWriter) Write(msg []byte) (int, error) { rw.buf = &bytes.Buffer{} } - return rw.buf.Write(msg) + return rw.buf.Write(msg) //nolint:wrapcheck } // Simply for satisfying the http.ResponseWriter interface. -- cgit v1.2.3