aboutsummaryrefslogtreecommitdiff
path: root/fasthttputil/pipeconns.go
diff options
context:
space:
mode:
Diffstat (limited to 'fasthttputil/pipeconns.go')
-rw-r--r--fasthttputil/pipeconns.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/fasthttputil/pipeconns.go b/fasthttputil/pipeconns.go
index 4ec4130..d401fe9 100644
--- a/fasthttputil/pipeconns.go
+++ b/fasthttputil/pipeconns.go
@@ -335,7 +335,7 @@ func releaseByteBuffer(b *byteBuffer) {
}
var byteBufferPool = &sync.Pool{
- New: func() interface{} {
+ New: func() any {
return &byteBuffer{
b: make([]byte, 1024),
}