aboutsummaryrefslogtreecommitdiff
path: root/rediscache
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2023-01-07 13:31:23 -0500
committerMitchell Riedstra <mitch@riedstra.dev>2023-01-07 13:31:23 -0500
commitca33a035c779ae14fb6330c8801c75f49dd1bb79 (patch)
treedeaabaf15d6d91079a68f247e46070399e4343ee /rediscache
parent97dd660925434be537cd9a49a1d0c893b223e357 (diff)
downloadgo-website-0.0.22.tar.gz
go-website-0.0.22.tar.xz
Add an internal caching option. It performs quite well.v0.0.22
Also refactor and clean up most linter warnings.
Diffstat (limited to 'rediscache')
-rw-r--r--rediscache/main.go2
1 files changed, 1 insertions, 1 deletions
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.