Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrSkip = errors.New("non null error") ErrEmpty = errors.New("") )
View Source
var IsDarwin = runtime.GOOS == "darwin"
View Source
var IsLinux = runtime.GOOS == "linux"
View Source
var IsWindows = runtime.GOOS == "windows"
Functions ¶
Types ¶
type AtomicBool ¶ added in v0.5.0
type AtomicBool struct {
Val int32
}
func NewAtomicBool ¶ added in v0.31.0
func NewAtomicBool(v bool) *AtomicBool
func (*AtomicBool) Get ¶ added in v0.5.0
func (b *AtomicBool) Get() bool
func (*AtomicBool) Set ¶ added in v0.5.0
func (b *AtomicBool) Set(v bool)
type ConcurrentSliceFunc ¶
type ConcurrentSliceFunc struct { Index int Fn func() }
type ConcurrentSliceWithFuncs ¶
type ConcurrentSliceWithFuncs struct {
// contains filtered or unexported fields
}
func NewConcurrentSliceWithFuncs ¶
func NewConcurrentSliceWithFuncs() *ConcurrentSliceWithFuncs
func (*ConcurrentSliceWithFuncs) Append ¶
func (s *ConcurrentSliceWithFuncs) Append(fn func())
func (*ConcurrentSliceWithFuncs) Iter ¶
func (s *ConcurrentSliceWithFuncs) Iter() <-chan func()
Click to show internal directories.
Click to hide internal directories.