☰
Debian Codegraph
@
0.16.1+git20260209.fcb76d1-2
0.16.1+git20260209.fcb76d1-1
/
/
_test
/
method38
/
a.go
☽
☼
_test/method38/a.go
code
plain
raw
Apache-2.0
2019 Containous SAS; 2020 Traefik Labs SAS
debian/copyright
1
package method38
2
3
import "sync"
4
5
func NewPool() Pool { return Pool{} }
6
7
type Buffer struct {
8
bs []byte
9
pool Pool
10
}
11
12
type Pool struct {
13
p *sync.Pool
14
}
15
16
var (
17
_pool = NewPool()
18
Get = _pool.Get
19
)