pool

package
v2.33.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2022 License: MIT Imports: 3 Imported by: 0

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.

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL