README ¶ Pool This package is a helper to create pool. For now, there is two pool type that allowed, bytesBuffer and stringBuilder. Feel free to add more pool type as you need. Expand ▾ Collapse ▴ Documentation ¶ Index ¶ Constants func Get(typePool uint64) interface{} func Put(typePool uint64, inst interface{}) Constants ¶ View Source const ( TypeBytesBuffer = iota TypeStringBuilder ) Variables ¶ This section is empty. Functions ¶ func Get ¶ func Get(typePool uint64) interface{} func Put ¶ func Put(typePool uint64, inst interface{}) Types ¶ This section is empty. Source Files ¶ View all Source files pool.go Click to show internal directories. Click to hide internal directories.