package
Version:
v0.0.0-...-984a488
Opens a new window with list of versions in this module.
Published: Jan 28, 2019
License: BSD-3-Clause
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func (o *Once) Do(f func())
type Pool struct {
New func() interface{}
}
Pool is a very simple implementation of sync.Pool. It does not actually
implement a pool.
func (p *Pool) Get() interface{}
Get returns the value of calling Pool.New().
func (p *Pool) Put(x interface{})
Put drops the value put into the pool.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.