mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-18 07:00:00 +02:00
style: coed cleanup and fix styling
This commit is contained in:
@@ -37,6 +37,6 @@ func (p *Pool[T]) Get() []T {
|
||||
|
||||
func (p *Pool[T]) Put(b []T) {
|
||||
if cap(b) <= p.maxSize {
|
||||
p.pool.Put(b[:0])
|
||||
p.pool.Put(b[:0]) //nolint:staticcheck
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user