aboutsummaryrefslogtreecommitdiff
path: root/rediscache/main.go
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2026-01-23 00:45:03 -0500
committerMitchell Riedstra <mitch@riedstra.dev>2026-01-23 00:45:03 -0500
commitfb2d776b5b9cf216f20b55e850653e8b05d6392c (patch)
treeab490c65cb9e84aab44c905e9444cd2a83443912 /rediscache/main.go
parentcdfdb3dbfa31eec3af4e888ad971a9efcbe3e0c1 (diff)
downloadgo-website-wip.tar.gz
go-website-wip.tar.xz
Revert to default linter config.wip
Fix a handful of the issues and remove some unused code
Diffstat (limited to 'rediscache/main.go')
-rw-r--r--rediscache/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rediscache/main.go b/rediscache/main.go
index 0135534..7b26ff5 100644
--- a/rediscache/main.go
+++ b/rediscache/main.go
@@ -104,7 +104,7 @@ func handle(pool *redis.Pool, key string, params bool, next http.Handler) http.H
}
client := pool.Get()
- defer client.Close()
+ defer client.Close() //nolint
subkey := r.URL.Path
if params {