Documentation ¶
Index ¶
- func Call(f func())
- func CeilPow2(x int) int
- func IsReallyNil(value Any) bool
- func LockUnlock(l sync.Locker) func()
- func Max(x, y int) int
- func MaxU64(x, y uint64) uint64
- func Min(i, j int) int
- func MinU64(i, j uint64) uint64
- func PanicIfNotNil(value interface{}) bool
- func Recover(handler func(issue Any))
- func Stringify(err_ptr *error)
- type Any
- type ErrorString
- type Pool
- type PoolItem
- type PoolItemHandle
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsReallyNil ¶
func LockUnlock ¶
func PanicIfNotNil ¶
func PanicIfNotNil(value interface{}) bool
Types ¶
type ErrorString ¶
type ErrorString string
func (ErrorString) Error ¶
func (this ErrorString) Error() string
type Pool ¶
type Pool struct {
// contains filtered or unexported fields
}
func (*Pool) Get ¶
func (self *Pool) Get() (ret PoolItemHandle)
func (*Pool) Invalidate ¶
func (self *Pool) Invalidate() (cleanup func())
func (*Pool) Return ¶
func (self *Pool) Return(obj PoolItemHandle)
type PoolItemHandle ¶
type PoolItemHandle struct {
// contains filtered or unexported fields
}
func (*PoolItemHandle) Get ¶
func (self *PoolItemHandle) Get() interface{}
Click to show internal directories.
Click to hide internal directories.