Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PacktPublishing/System-Programming-Essentials-with-Go
/ BufferPool
Struct
BufferPool
ch14/buffer_pool/main.go:9–11 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
7
)
8
9
type
BufferPool
struct
{
10
pool sync.Pool
11
}
12
13
func
NewBufferPool() *BufferPool {
14
return
&BufferPool{
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected