Documentation
¶
Overview ¶
Code generated by scripts/generate_go_funcs; DO NOT EDIT.
Index ¶
- Constants
- type Bool
- type Float32
- func (p *Float32) Add(value float32) float32
- func (p *Float32) Dec() float32
- func (p *Float32) EqualSet(expected float32, val float32) bool
- func (p *Float32) Get() float32
- func (p *Float32) GreaterAdd(expected float32, val float32) bool
- func (p *Float32) GreaterDec(expected float32) bool
- func (p *Float32) GreaterEqualAdd(expected float32, val float32) bool
- func (p *Float32) GreaterEqualDec(expected float32) bool
- func (p *Float32) GreaterEqualInc(expected float32) bool
- func (p *Float32) GreaterEqualSet(expected float32, val float32) bool
- func (p *Float32) GreaterEqualSub(expected float32, val float32) bool
- func (p *Float32) GreaterInc(expected float32) bool
- func (p *Float32) GreaterSub(expected float32, val float32) bool
- func (p *Float32) Inc() float32
- func (p *Float32) LessAdd(expected float32, val float32) bool
- func (p *Float32) LessDec(expected float32) bool
- func (p *Float32) LessEqualAdd(expected float32, val float32) bool
- func (p *Float32) LessEqualDec(expected float32) bool
- func (p *Float32) LessEqualInc(expected float32) bool
- func (p *Float32) LessEqualSet(expected float32, val float32) bool
- func (p *Float32) LessEqualSub(expected float32, val float32) bool
- func (p *Float32) LessInc(expected float32) bool
- func (p *Float32) LessSub(expected float32, val float32) bool
- func (p *Float32) NotEqualSet(expected float32, val float32) bool
- func (p *Float32) Set(val float32)
- func (p *Float32) Sub(value float32) float32
- func (p *Float32) UnsafeAdd(value float32) float32
- func (p *Float32) UnsafeDec() float32
- func (p *Float32) UnsafeInc() float32
- func (p *Float32) UnsafeSet(val float32)
- func (p *Float32) UnsafeSub(value float32) float32
- type Float64
- func (p *Float64) Add(value float64) float64
- func (p *Float64) Dec() float64
- func (p *Float64) EqualSet(expected float64, val float64) bool
- func (p *Float64) Get() float64
- func (p *Float64) GreaterAdd(expected float64, val float64) bool
- func (p *Float64) GreaterDec(expected float64) bool
- func (p *Float64) GreaterEqualAdd(expected float64, val float64) bool
- func (p *Float64) GreaterEqualDec(expected float64) bool
- func (p *Float64) GreaterEqualInc(expected float64) bool
- func (p *Float64) GreaterEqualSet(expected float64, val float64) bool
- func (p *Float64) GreaterEqualSub(expected float64, val float64) bool
- func (p *Float64) GreaterInc(expected float64) bool
- func (p *Float64) GreaterSub(expected float64, val float64) bool
- func (p *Float64) Inc() float64
- func (p *Float64) LessAdd(expected float64, val float64) bool
- func (p *Float64) LessDec(expected float64) bool
- func (p *Float64) LessEqualAdd(expected float64, val float64) bool
- func (p *Float64) LessEqualDec(expected float64) bool
- func (p *Float64) LessEqualInc(expected float64) bool
- func (p *Float64) LessEqualSet(expected float64, val float64) bool
- func (p *Float64) LessEqualSub(expected float64, val float64) bool
- func (p *Float64) LessInc(expected float64) bool
- func (p *Float64) LessSub(expected float64, val float64) bool
- func (p *Float64) NotEqualSet(expected float64, val float64) bool
- func (p *Float64) Set(val float64)
- func (p *Float64) Sub(value float64) float64
- func (p *Float64) UnsafeAdd(value float64) float64
- func (p *Float64) UnsafeDec() float64
- func (p *Float64) UnsafeInc() float64
- func (p *Float64) UnsafeSet(val float64)
- func (p *Float64) UnsafeSub(value float64) float64
- type Int
- func (p *Int) Add(value int) int
- func (p *Int) Dec() int
- func (p *Int) EqualSet(expected int, val int) bool
- func (p *Int) Get() int
- func (p *Int) GreaterAdd(expected int, val int) bool
- func (p *Int) GreaterDec(expected int) bool
- func (p *Int) GreaterEqualAdd(expected int, val int) bool
- func (p *Int) GreaterEqualDec(expected int) bool
- func (p *Int) GreaterEqualInc(expected int) bool
- func (p *Int) GreaterEqualSet(expected int, val int) bool
- func (p *Int) GreaterEqualSub(expected int, val int) bool
- func (p *Int) GreaterInc(expected int) bool
- func (p *Int) GreaterSub(expected int, val int) bool
- func (p *Int) Inc() int
- func (p *Int) LessAdd(expected int, val int) bool
- func (p *Int) LessDec(expected int) bool
- func (p *Int) LessEqualAdd(expected int, val int) bool
- func (p *Int) LessEqualDec(expected int) bool
- func (p *Int) LessEqualInc(expected int) bool
- func (p *Int) LessEqualSet(expected int, val int) bool
- func (p *Int) LessEqualSub(expected int, val int) bool
- func (p *Int) LessInc(expected int) bool
- func (p *Int) LessSub(expected int, val int) bool
- func (p *Int) NotEqualSet(expected int, val int) bool
- func (p *Int) Set(val int)
- func (p *Int) Sub(value int) int
- func (p *Int) UnsafeAdd(value int) int
- func (p *Int) UnsafeDec() int
- func (p *Int) UnsafeInc() int
- func (p *Int) UnsafeSet(val int)
- func (p *Int) UnsafeSub(value int) int
- type Int16
- func (p *Int16) Add(value int16) int16
- func (p *Int16) Dec() int16
- func (p *Int16) EqualSet(expected int16, val int16) bool
- func (p *Int16) Get() int16
- func (p *Int16) GreaterAdd(expected int16, val int16) bool
- func (p *Int16) GreaterDec(expected int16) bool
- func (p *Int16) GreaterEqualAdd(expected int16, val int16) bool
- func (p *Int16) GreaterEqualDec(expected int16) bool
- func (p *Int16) GreaterEqualInc(expected int16) bool
- func (p *Int16) GreaterEqualSet(expected int16, val int16) bool
- func (p *Int16) GreaterEqualSub(expected int16, val int16) bool
- func (p *Int16) GreaterInc(expected int16) bool
- func (p *Int16) GreaterSub(expected int16, val int16) bool
- func (p *Int16) Inc() int16
- func (p *Int16) LessAdd(expected int16, val int16) bool
- func (p *Int16) LessDec(expected int16) bool
- func (p *Int16) LessEqualAdd(expected int16, val int16) bool
- func (p *Int16) LessEqualDec(expected int16) bool
- func (p *Int16) LessEqualInc(expected int16) bool
- func (p *Int16) LessEqualSet(expected int16, val int16) bool
- func (p *Int16) LessEqualSub(expected int16, val int16) bool
- func (p *Int16) LessInc(expected int16) bool
- func (p *Int16) LessSub(expected int16, val int16) bool
- func (p *Int16) NotEqualSet(expected int16, val int16) bool
- func (p *Int16) Set(val int16)
- func (p *Int16) Sub(value int16) int16
- func (p *Int16) UnsafeAdd(value int16) int16
- func (p *Int16) UnsafeDec() int16
- func (p *Int16) UnsafeInc() int16
- func (p *Int16) UnsafeSet(val int16)
- func (p *Int16) UnsafeSub(value int16) int16
- type Int32
- func (p *Int32) Add(value int32) int32
- func (p *Int32) Dec() int32
- func (p *Int32) EqualSet(expected int32, val int32) bool
- func (p *Int32) Get() int32
- func (p *Int32) GreaterAdd(expected int32, val int32) bool
- func (p *Int32) GreaterDec(expected int32) bool
- func (p *Int32) GreaterEqualAdd(expected int32, val int32) bool
- func (p *Int32) GreaterEqualDec(expected int32) bool
- func (p *Int32) GreaterEqualInc(expected int32) bool
- func (p *Int32) GreaterEqualSet(expected int32, val int32) bool
- func (p *Int32) GreaterEqualSub(expected int32, val int32) bool
- func (p *Int32) GreaterInc(expected int32) bool
- func (p *Int32) GreaterSub(expected int32, val int32) bool
- func (p *Int32) Inc() int32
- func (p *Int32) LessAdd(expected int32, val int32) bool
- func (p *Int32) LessDec(expected int32) bool
- func (p *Int32) LessEqualAdd(expected int32, val int32) bool
- func (p *Int32) LessEqualDec(expected int32) bool
- func (p *Int32) LessEqualInc(expected int32) bool
- func (p *Int32) LessEqualSet(expected int32, val int32) bool
- func (p *Int32) LessEqualSub(expected int32, val int32) bool
- func (p *Int32) LessInc(expected int32) bool
- func (p *Int32) LessSub(expected int32, val int32) bool
- func (p *Int32) NotEqualSet(expected int32, val int32) bool
- func (p *Int32) Set(val int32)
- func (p *Int32) Sub(value int32) int32
- func (p *Int32) UnsafeAdd(value int32) int32
- func (p *Int32) UnsafeDec() int32
- func (p *Int32) UnsafeInc() int32
- func (p *Int32) UnsafeSet(val int32)
- func (p *Int32) UnsafeSub(value int32) int32
- type Int64
- func (p *Int64) Add(value int64) int64
- func (p *Int64) Dec() int64
- func (p *Int64) EqualSet(expected int64, val int64) bool
- func (p *Int64) Get() int64
- func (p *Int64) GreaterAdd(expected int64, val int64) bool
- func (p *Int64) GreaterDec(expected int64) bool
- func (p *Int64) GreaterEqualAdd(expected int64, val int64) bool
- func (p *Int64) GreaterEqualDec(expected int64) bool
- func (p *Int64) GreaterEqualInc(expected int64) bool
- func (p *Int64) GreaterEqualSet(expected int64, val int64) bool
- func (p *Int64) GreaterEqualSub(expected int64, val int64) bool
- func (p *Int64) GreaterInc(expected int64) bool
- func (p *Int64) GreaterSub(expected int64, val int64) bool
- func (p *Int64) Inc() int64
- func (p *Int64) LessAdd(expected int64, val int64) bool
- func (p *Int64) LessDec(expected int64) bool
- func (p *Int64) LessEqualAdd(expected int64, val int64) bool
- func (p *Int64) LessEqualDec(expected int64) bool
- func (p *Int64) LessEqualInc(expected int64) bool
- func (p *Int64) LessEqualSet(expected int64, val int64) bool
- func (p *Int64) LessEqualSub(expected int64, val int64) bool
- func (p *Int64) LessInc(expected int64) bool
- func (p *Int64) LessSub(expected int64, val int64) bool
- func (p *Int64) NotEqualSet(expected int64, val int64) bool
- func (p *Int64) Set(val int64)
- func (p *Int64) Sub(value int64) int64
- func (p *Int64) UnsafeAdd(value int64) int64
- func (p *Int64) UnsafeDec() int64
- func (p *Int64) UnsafeInc() int64
- func (p *Int64) UnsafeSet(val int64)
- func (p *Int64) UnsafeSub(value int64) int64
- type Int8
- func (p *Int8) Add(value int8) int8
- func (p *Int8) Dec() int8
- func (p *Int8) EqualSet(expected int8, val int8) bool
- func (p *Int8) Get() int8
- func (p *Int8) GreaterAdd(expected int8, val int8) bool
- func (p *Int8) GreaterDec(expected int8) bool
- func (p *Int8) GreaterEqualAdd(expected int8, val int8) bool
- func (p *Int8) GreaterEqualDec(expected int8) bool
- func (p *Int8) GreaterEqualInc(expected int8) bool
- func (p *Int8) GreaterEqualSet(expected int8, val int8) bool
- func (p *Int8) GreaterEqualSub(expected int8, val int8) bool
- func (p *Int8) GreaterInc(expected int8) bool
- func (p *Int8) GreaterSub(expected int8, val int8) bool
- func (p *Int8) Inc() int8
- func (p *Int8) LessAdd(expected int8, val int8) bool
- func (p *Int8) LessDec(expected int8) bool
- func (p *Int8) LessEqualAdd(expected int8, val int8) bool
- func (p *Int8) LessEqualDec(expected int8) bool
- func (p *Int8) LessEqualInc(expected int8) bool
- func (p *Int8) LessEqualSet(expected int8, val int8) bool
- func (p *Int8) LessEqualSub(expected int8, val int8) bool
- func (p *Int8) LessInc(expected int8) bool
- func (p *Int8) LessSub(expected int8, val int8) bool
- func (p *Int8) NotEqualSet(expected int8, val int8) bool
- func (p *Int8) Set(val int8)
- func (p *Int8) Sub(value int8) int8
- func (p *Int8) UnsafeAdd(value int8) int8
- func (p *Int8) UnsafeDec() int8
- func (p *Int8) UnsafeInc() int8
- func (p *Int8) UnsafeSet(val int8)
- func (p *Int8) UnsafeSub(value int8) int8
- type Map
- func (m *Map) Clear()
- func (m *Map) Delete(k any) (v any)
- func (m *Map) Get(k any) (v any, ok bool)
- func (m *Map) Keys() (keys []any)
- func (m *Map) Put(k any, v any)
- func (m *Map) PutIfNew(k any, v any) bool
- func (m *Map) Range(f func(key, val any) bool)
- func (m *Map) RangeChange(f func(key, val any) (any, bool))
- type Set
- type Slice
- type String
- func (p *String) EqualSet(expected string, val string) bool
- func (p *String) Get() string
- func (p *String) GreaterEqualSet(expected string, val string) bool
- func (p *String) LessEqualSet(expected string, val string) bool
- func (p *String) NotEqualSet(expected string, val string) bool
- func (p *String) Set(val string)
- func (p *String) UnsafeSet(val string)
- type Uint
- func (p *Uint) Add(value uint) uint
- func (p *Uint) Dec() uint
- func (p *Uint) EqualSet(expected uint, val uint) bool
- func (p *Uint) Get() uint
- func (p *Uint) GreaterAdd(expected uint, val uint) bool
- func (p *Uint) GreaterDec(expected uint) bool
- func (p *Uint) GreaterEqualAdd(expected uint, val uint) bool
- func (p *Uint) GreaterEqualDec(expected uint) bool
- func (p *Uint) GreaterEqualInc(expected uint) bool
- func (p *Uint) GreaterEqualSet(expected uint, val uint) bool
- func (p *Uint) GreaterEqualSub(expected uint, val uint) bool
- func (p *Uint) GreaterInc(expected uint) bool
- func (p *Uint) GreaterSub(expected uint, val uint) bool
- func (p *Uint) Inc() uint
- func (p *Uint) LessAdd(expected uint, val uint) bool
- func (p *Uint) LessDec(expected uint) bool
- func (p *Uint) LessEqualAdd(expected uint, val uint) bool
- func (p *Uint) LessEqualDec(expected uint) bool
- func (p *Uint) LessEqualInc(expected uint) bool
- func (p *Uint) LessEqualSet(expected uint, val uint) bool
- func (p *Uint) LessEqualSub(expected uint, val uint) bool
- func (p *Uint) LessInc(expected uint) bool
- func (p *Uint) LessSub(expected uint, val uint) bool
- func (p *Uint) NotEqualSet(expected uint, val uint) bool
- func (p *Uint) Set(val uint)
- func (p *Uint) Sub(value uint) uint
- func (p *Uint) UnsafeAdd(value uint) uint
- func (p *Uint) UnsafeDec() uint
- func (p *Uint) UnsafeInc() uint
- func (p *Uint) UnsafeSet(val uint)
- func (p *Uint) UnsafeSub(value uint) uint
- type Uint16
- func (p *Uint16) Add(value uint16) uint16
- func (p *Uint16) Dec() uint16
- func (p *Uint16) EqualSet(expected uint16, val uint16) bool
- func (p *Uint16) Get() uint16
- func (p *Uint16) GreaterAdd(expected uint16, val uint16) bool
- func (p *Uint16) GreaterDec(expected uint16) bool
- func (p *Uint16) GreaterEqualAdd(expected uint16, val uint16) bool
- func (p *Uint16) GreaterEqualDec(expected uint16) bool
- func (p *Uint16) GreaterEqualInc(expected uint16) bool
- func (p *Uint16) GreaterEqualSet(expected uint16, val uint16) bool
- func (p *Uint16) GreaterEqualSub(expected uint16, val uint16) bool
- func (p *Uint16) GreaterInc(expected uint16) bool
- func (p *Uint16) GreaterSub(expected uint16, val uint16) bool
- func (p *Uint16) Inc() uint16
- func (p *Uint16) LessAdd(expected uint16, val uint16) bool
- func (p *Uint16) LessDec(expected uint16) bool
- func (p *Uint16) LessEqualAdd(expected uint16, val uint16) bool
- func (p *Uint16) LessEqualDec(expected uint16) bool
- func (p *Uint16) LessEqualInc(expected uint16) bool
- func (p *Uint16) LessEqualSet(expected uint16, val uint16) bool
- func (p *Uint16) LessEqualSub(expected uint16, val uint16) bool
- func (p *Uint16) LessInc(expected uint16) bool
- func (p *Uint16) LessSub(expected uint16, val uint16) bool
- func (p *Uint16) NotEqualSet(expected uint16, val uint16) bool
- func (p *Uint16) Set(val uint16)
- func (p *Uint16) Sub(value uint16) uint16
- func (p *Uint16) UnsafeAdd(value uint16) uint16
- func (p *Uint16) UnsafeDec() uint16
- func (p *Uint16) UnsafeInc() uint16
- func (p *Uint16) UnsafeSet(val uint16)
- func (p *Uint16) UnsafeSub(value uint16) uint16
- type Uint32
- func (p *Uint32) Add(value uint32) uint32
- func (p *Uint32) Dec() uint32
- func (p *Uint32) EqualSet(expected uint32, val uint32) bool
- func (p *Uint32) Get() uint32
- func (p *Uint32) GreaterAdd(expected uint32, val uint32) bool
- func (p *Uint32) GreaterDec(expected uint32) bool
- func (p *Uint32) GreaterEqualAdd(expected uint32, val uint32) bool
- func (p *Uint32) GreaterEqualDec(expected uint32) bool
- func (p *Uint32) GreaterEqualInc(expected uint32) bool
- func (p *Uint32) GreaterEqualSet(expected uint32, val uint32) bool
- func (p *Uint32) GreaterEqualSub(expected uint32, val uint32) bool
- func (p *Uint32) GreaterInc(expected uint32) bool
- func (p *Uint32) GreaterSub(expected uint32, val uint32) bool
- func (p *Uint32) Inc() uint32
- func (p *Uint32) LessAdd(expected uint32, val uint32) bool
- func (p *Uint32) LessDec(expected uint32) bool
- func (p *Uint32) LessEqualAdd(expected uint32, val uint32) bool
- func (p *Uint32) LessEqualDec(expected uint32) bool
- func (p *Uint32) LessEqualInc(expected uint32) bool
- func (p *Uint32) LessEqualSet(expected uint32, val uint32) bool
- func (p *Uint32) LessEqualSub(expected uint32, val uint32) bool
- func (p *Uint32) LessInc(expected uint32) bool
- func (p *Uint32) LessSub(expected uint32, val uint32) bool
- func (p *Uint32) NotEqualSet(expected uint32, val uint32) bool
- func (p *Uint32) Set(val uint32)
- func (p *Uint32) Sub(value uint32) uint32
- func (p *Uint32) UnsafeAdd(value uint32) uint32
- func (p *Uint32) UnsafeDec() uint32
- func (p *Uint32) UnsafeInc() uint32
- func (p *Uint32) UnsafeSet(val uint32)
- func (p *Uint32) UnsafeSub(value uint32) uint32
- type Uint64
- func (p *Uint64) Add(value uint64) uint64
- func (p *Uint64) Dec() uint64
- func (p *Uint64) EqualSet(expected uint64, val uint64) bool
- func (p *Uint64) Get() uint64
- func (p *Uint64) GreaterAdd(expected uint64, val uint64) bool
- func (p *Uint64) GreaterDec(expected uint64) bool
- func (p *Uint64) GreaterEqualAdd(expected uint64, val uint64) bool
- func (p *Uint64) GreaterEqualDec(expected uint64) bool
- func (p *Uint64) GreaterEqualInc(expected uint64) bool
- func (p *Uint64) GreaterEqualSet(expected uint64, val uint64) bool
- func (p *Uint64) GreaterEqualSub(expected uint64, val uint64) bool
- func (p *Uint64) GreaterInc(expected uint64) bool
- func (p *Uint64) GreaterSub(expected uint64, val uint64) bool
- func (p *Uint64) Inc() uint64
- func (p *Uint64) LessAdd(expected uint64, val uint64) bool
- func (p *Uint64) LessDec(expected uint64) bool
- func (p *Uint64) LessEqualAdd(expected uint64, val uint64) bool
- func (p *Uint64) LessEqualDec(expected uint64) bool
- func (p *Uint64) LessEqualInc(expected uint64) bool
- func (p *Uint64) LessEqualSet(expected uint64, val uint64) bool
- func (p *Uint64) LessEqualSub(expected uint64, val uint64) bool
- func (p *Uint64) LessInc(expected uint64) bool
- func (p *Uint64) LessSub(expected uint64, val uint64) bool
- func (p *Uint64) NotEqualSet(expected uint64, val uint64) bool
- func (p *Uint64) Set(val uint64)
- func (p *Uint64) Sub(value uint64) uint64
- func (p *Uint64) UnsafeAdd(value uint64) uint64
- func (p *Uint64) UnsafeDec() uint64
- func (p *Uint64) UnsafeInc() uint64
- func (p *Uint64) UnsafeSet(val uint64)
- func (p *Uint64) UnsafeSub(value uint64) uint64
- type Uint8
- func (p *Uint8) Add(value uint8) uint8
- func (p *Uint8) Dec() uint8
- func (p *Uint8) EqualSet(expected uint8, val uint8) bool
- func (p *Uint8) Get() uint8
- func (p *Uint8) GreaterAdd(expected uint8, val uint8) bool
- func (p *Uint8) GreaterDec(expected uint8) bool
- func (p *Uint8) GreaterEqualAdd(expected uint8, val uint8) bool
- func (p *Uint8) GreaterEqualDec(expected uint8) bool
- func (p *Uint8) GreaterEqualInc(expected uint8) bool
- func (p *Uint8) GreaterEqualSet(expected uint8, val uint8) bool
- func (p *Uint8) GreaterEqualSub(expected uint8, val uint8) bool
- func (p *Uint8) GreaterInc(expected uint8) bool
- func (p *Uint8) GreaterSub(expected uint8, val uint8) bool
- func (p *Uint8) Inc() uint8
- func (p *Uint8) LessAdd(expected uint8, val uint8) bool
- func (p *Uint8) LessDec(expected uint8) bool
- func (p *Uint8) LessEqualAdd(expected uint8, val uint8) bool
- func (p *Uint8) LessEqualDec(expected uint8) bool
- func (p *Uint8) LessEqualInc(expected uint8) bool
- func (p *Uint8) LessEqualSet(expected uint8, val uint8) bool
- func (p *Uint8) LessEqualSub(expected uint8, val uint8) bool
- func (p *Uint8) LessInc(expected uint8) bool
- func (p *Uint8) LessSub(expected uint8, val uint8) bool
- func (p *Uint8) NotEqualSet(expected uint8, val uint8) bool
- func (p *Uint8) Set(val uint8)
- func (p *Uint8) Sub(value uint8) uint8
- func (p *Uint8) UnsafeAdd(value uint8) uint8
- func (p *Uint8) UnsafeDec() uint8
- func (p *Uint8) UnsafeInc() uint8
- func (p *Uint8) UnsafeSet(val uint8)
- func (p *Uint8) UnsafeSub(value uint8) uint8
Constants ¶
const Version string = "1.11.5"
Version is the package version.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bool ¶
Bool is a thread-safe bool implementation.
func (*Bool) EqualSet ¶
EqualSet will check if the value is == the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Bool) NotEqualSet ¶
NotEqualSet will check if the value is != the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
type Float32 ¶
Float32 is a thread-safe float32 implementation.
func NewFloat32 ¶
func NewFloat32() *Float32
NewFloat32 will return a pointer to a new Float32 instance.
func (*Float32) EqualSet ¶
EqualSet will check if the value is == the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Float32) GreaterAdd ¶
GreaterAdd will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Float32) GreaterDec ¶
GreaterDec will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Float32) GreaterEqualAdd ¶
GreaterEqualAdd will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Float32) GreaterEqualDec ¶
GreaterEqualDec will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Float32) GreaterEqualInc ¶
GreaterEqualInc will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Float32) GreaterEqualSet ¶
GreaterEqualSet will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Float32) GreaterEqualSub ¶
GreaterEqualSub will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Float32) GreaterInc ¶
GreaterInc will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Float32) GreaterSub ¶
GreaterSub will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Float32) LessAdd ¶
LessAdd will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Float32) LessDec ¶
LessDec will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Float32) LessEqualAdd ¶
LessEqualAdd will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Float32) LessEqualDec ¶
LessEqualDec will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Float32) LessEqualInc ¶
LessEqualInc will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Float32) LessEqualSet ¶
LessEqualSet will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Float32) LessEqualSub ¶
LessEqualSub will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Float32) LessInc ¶
LessInc will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Float32) LessSub ¶
LessSub will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Float32) NotEqualSet ¶
NotEqualSet will check if the value is != the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Float32) UnsafeDec ¶
UnsafeDec will decrement the current value by 1 and return the new value, with no Lock.
func (*Float32) UnsafeInc ¶
UnsafeInc will increment the current value by 1 and return the new value, with no Lock.
type Float64 ¶
Float64 is a thread-safe float64 implementation.
func NewFloat64 ¶
func NewFloat64() *Float64
NewFloat64 will return a pointer to a new Float64 instance.
func (*Float64) EqualSet ¶
EqualSet will check if the value is == the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Float64) GreaterAdd ¶
GreaterAdd will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Float64) GreaterDec ¶
GreaterDec will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Float64) GreaterEqualAdd ¶
GreaterEqualAdd will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Float64) GreaterEqualDec ¶
GreaterEqualDec will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Float64) GreaterEqualInc ¶
GreaterEqualInc will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Float64) GreaterEqualSet ¶
GreaterEqualSet will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Float64) GreaterEqualSub ¶
GreaterEqualSub will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Float64) GreaterInc ¶
GreaterInc will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Float64) GreaterSub ¶
GreaterSub will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Float64) LessAdd ¶
LessAdd will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Float64) LessDec ¶
LessDec will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Float64) LessEqualAdd ¶
LessEqualAdd will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Float64) LessEqualDec ¶
LessEqualDec will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Float64) LessEqualInc ¶
LessEqualInc will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Float64) LessEqualSet ¶
LessEqualSet will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Float64) LessEqualSub ¶
LessEqualSub will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Float64) LessInc ¶
LessInc will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Float64) LessSub ¶
LessSub will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Float64) NotEqualSet ¶
NotEqualSet will check if the value is != the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Float64) UnsafeDec ¶
UnsafeDec will decrement the current value by 1 and return the new value, with no Lock.
func (*Float64) UnsafeInc ¶
UnsafeInc will increment the current value by 1 and return the new value, with no Lock.
type Int ¶
Int is a thread-safe int implementation.
func (*Int) EqualSet ¶
EqualSet will check if the value is == the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int) GreaterAdd ¶
GreaterAdd will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int) GreaterDec ¶
GreaterDec will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int) GreaterEqualAdd ¶
GreaterEqualAdd will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int) GreaterEqualDec ¶
GreaterEqualDec will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int) GreaterEqualInc ¶
GreaterEqualInc will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int) GreaterEqualSet ¶
GreaterEqualSet will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int) GreaterEqualSub ¶
GreaterEqualSub will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int) GreaterInc ¶
GreaterInc will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int) GreaterSub ¶
GreaterSub will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int) LessAdd ¶
LessAdd will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int) LessDec ¶
LessDec will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int) LessEqualAdd ¶
LessEqualAdd will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int) LessEqualDec ¶
LessEqualDec will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int) LessEqualInc ¶
LessEqualInc will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int) LessEqualSet ¶
LessEqualSet will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int) LessEqualSub ¶
LessEqualSub will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int) LessInc ¶
LessInc will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int) LessSub ¶
LessSub will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int) NotEqualSet ¶
NotEqualSet will check if the value is != the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int) UnsafeDec ¶
UnsafeDec will decrement the current value by 1 and return the new value, with no Lock.
func (*Int) UnsafeInc ¶
UnsafeInc will increment the current value by 1 and return the new value, with no Lock.
type Int16 ¶
Int16 is a thread-safe int16 implementation.
func (*Int16) EqualSet ¶
EqualSet will check if the value is == the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int16) GreaterAdd ¶
GreaterAdd will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int16) GreaterDec ¶
GreaterDec will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int16) GreaterEqualAdd ¶
GreaterEqualAdd will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int16) GreaterEqualDec ¶
GreaterEqualDec will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int16) GreaterEqualInc ¶
GreaterEqualInc will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int16) GreaterEqualSet ¶
GreaterEqualSet will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int16) GreaterEqualSub ¶
GreaterEqualSub will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int16) GreaterInc ¶
GreaterInc will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int16) GreaterSub ¶
GreaterSub will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int16) LessAdd ¶
LessAdd will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int16) LessDec ¶
LessDec will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int16) LessEqualAdd ¶
LessEqualAdd will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int16) LessEqualDec ¶
LessEqualDec will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int16) LessEqualInc ¶
LessEqualInc will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int16) LessEqualSet ¶
LessEqualSet will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int16) LessEqualSub ¶
LessEqualSub will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int16) LessInc ¶
LessInc will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int16) LessSub ¶
LessSub will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int16) NotEqualSet ¶
NotEqualSet will check if the value is != the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int16) UnsafeDec ¶
UnsafeDec will decrement the current value by 1 and return the new value, with no Lock.
func (*Int16) UnsafeInc ¶
UnsafeInc will increment the current value by 1 and return the new value, with no Lock.
type Int32 ¶
Int32 is a thread-safe int32 implementation.
func (*Int32) EqualSet ¶
EqualSet will check if the value is == the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int32) GreaterAdd ¶
GreaterAdd will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int32) GreaterDec ¶
GreaterDec will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int32) GreaterEqualAdd ¶
GreaterEqualAdd will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int32) GreaterEqualDec ¶
GreaterEqualDec will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int32) GreaterEqualInc ¶
GreaterEqualInc will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int32) GreaterEqualSet ¶
GreaterEqualSet will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int32) GreaterEqualSub ¶
GreaterEqualSub will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int32) GreaterInc ¶
GreaterInc will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int32) GreaterSub ¶
GreaterSub will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int32) LessAdd ¶
LessAdd will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int32) LessDec ¶
LessDec will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int32) LessEqualAdd ¶
LessEqualAdd will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int32) LessEqualDec ¶
LessEqualDec will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int32) LessEqualInc ¶
LessEqualInc will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int32) LessEqualSet ¶
LessEqualSet will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int32) LessEqualSub ¶
LessEqualSub will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int32) LessInc ¶
LessInc will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int32) LessSub ¶
LessSub will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int32) NotEqualSet ¶
NotEqualSet will check if the value is != the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int32) UnsafeDec ¶
UnsafeDec will decrement the current value by 1 and return the new value, with no Lock.
func (*Int32) UnsafeInc ¶
UnsafeInc will increment the current value by 1 and return the new value, with no Lock.
type Int64 ¶
Int64 is a thread-safe int64 implementation.
func (*Int64) EqualSet ¶
EqualSet will check if the value is == the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int64) GreaterAdd ¶
GreaterAdd will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int64) GreaterDec ¶
GreaterDec will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int64) GreaterEqualAdd ¶
GreaterEqualAdd will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int64) GreaterEqualDec ¶
GreaterEqualDec will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int64) GreaterEqualInc ¶
GreaterEqualInc will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int64) GreaterEqualSet ¶
GreaterEqualSet will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int64) GreaterEqualSub ¶
GreaterEqualSub will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int64) GreaterInc ¶
GreaterInc will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int64) GreaterSub ¶
GreaterSub will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int64) LessAdd ¶
LessAdd will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int64) LessDec ¶
LessDec will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int64) LessEqualAdd ¶
LessEqualAdd will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int64) LessEqualDec ¶
LessEqualDec will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int64) LessEqualInc ¶
LessEqualInc will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int64) LessEqualSet ¶
LessEqualSet will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int64) LessEqualSub ¶
LessEqualSub will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int64) LessInc ¶
LessInc will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int64) LessSub ¶
LessSub will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int64) NotEqualSet ¶
NotEqualSet will check if the value is != the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int64) UnsafeDec ¶
UnsafeDec will decrement the current value by 1 and return the new value, with no Lock.
func (*Int64) UnsafeInc ¶
UnsafeInc will increment the current value by 1 and return the new value, with no Lock.
type Int8 ¶
Int8 is a thread-safe int8 implementation.
func (*Int8) EqualSet ¶
EqualSet will check if the value is == the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int8) GreaterAdd ¶
GreaterAdd will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int8) GreaterDec ¶
GreaterDec will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int8) GreaterEqualAdd ¶
GreaterEqualAdd will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int8) GreaterEqualDec ¶
GreaterEqualDec will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int8) GreaterEqualInc ¶
GreaterEqualInc will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int8) GreaterEqualSet ¶
GreaterEqualSet will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int8) GreaterEqualSub ¶
GreaterEqualSub will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int8) GreaterInc ¶
GreaterInc will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int8) GreaterSub ¶
GreaterSub will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int8) LessAdd ¶
LessAdd will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int8) LessDec ¶
LessDec will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int8) LessEqualAdd ¶
LessEqualAdd will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int8) LessEqualDec ¶
LessEqualDec will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int8) LessEqualInc ¶
LessEqualInc will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int8) LessEqualSet ¶
LessEqualSet will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int8) LessEqualSub ¶
LessEqualSub will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int8) LessInc ¶
LessInc will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int8) LessSub ¶
LessSub will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int8) NotEqualSet ¶
NotEqualSet will check if the value is != the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Int8) UnsafeDec ¶
UnsafeDec will decrement the current value by 1 and return the new value, with no Lock.
func (*Int8) UnsafeInc ¶
UnsafeInc will increment the current value by 1 and return the new value, with no Lock.
type Map ¶
Map is a thread-safe map[any]any implementation.
func (*Map) Keys ¶
Keys will return a snapshot of the valid keys. There is no guarantee that the keys will remain valid for any amount of time.
func (*Map) PutIfNew ¶
PutIfNew will store a key/value pair, so long as the key doesn't already exist.
func (*Map) Range ¶
Range will loop over the map and run the specified function for each entry. The return value determines whether or not to break the loop. You should not add or delete entries within Range, and you should avoid calling other Map functions or you may cause deadlock. Range should be safe to nest for any read operations.
func (*Map) RangeChange ¶
RangeChange will loop over the map and run the specified function for each entry, storing the first return value as the new entry value. The second return value determines whether or not to break the loop. You should not add or delete entries within RangeChange, and you should avoid calling other Map functions or you may cause deadlock.
type Set ¶
Set is a thread-safe set[any]struct{} implementation.
func (*Set) Get ¶
Get will return a snapshot of the set. There is no guarantee that the items will remain in the set for any amount of time.
func (*Set) Range ¶
Range will loop over the set and run the specified function for each entry. The return value determines whether or not to break the loop. You should not add or delete entries within Range, and you should avoid calling other Set functions or you may cause deadlock. Range should be safe to nest for any read operations.
type Slice ¶
Slice is a thread-safe []any implementation. Order is not guaranteed.
func (*Slice) Length ¶
Length will return the length of the slice. There is no guarantee that it will remain accurate for any amount of time.
func (*Slice) Range ¶
Range will loop over the slice and run the specified function for each entry. The return value determines whether or not to break the loop. You should not add or delete entries within Range, and you should avoid calling other Slice functions or you may cause deadlock. Range should be safe to nest for any read operations.
func (*Slice) RangeChange ¶
RangeChange will loop over the slice and run the specified function for each entry, storing the first return value as the new entry value. The second return value determines whether or not to break the loop. You should not add or delete entries within RangeChange, and you should avoid calling other Slice functions or you may cause deadlock. Range should be safe to nest for any read operations.
type String ¶
String is a thread-safe string implementation.
func (*String) EqualSet ¶
EqualSet will check if the value is == the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*String) GreaterEqualSet ¶
GreaterEqualSet will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*String) LessEqualSet ¶
LessEqualSet will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*String) NotEqualSet ¶
NotEqualSet will check if the value is != the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
type Uint ¶
Uint is a thread-safe uint implementation.
func (*Uint) EqualSet ¶
EqualSet will check if the value is == the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint) GreaterAdd ¶
GreaterAdd will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint) GreaterDec ¶
GreaterDec will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint) GreaterEqualAdd ¶
GreaterEqualAdd will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint) GreaterEqualDec ¶
GreaterEqualDec will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint) GreaterEqualInc ¶
GreaterEqualInc will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint) GreaterEqualSet ¶
GreaterEqualSet will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint) GreaterEqualSub ¶
GreaterEqualSub will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint) GreaterInc ¶
GreaterInc will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint) GreaterSub ¶
GreaterSub will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint) LessAdd ¶
LessAdd will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint) LessDec ¶
LessDec will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint) LessEqualAdd ¶
LessEqualAdd will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint) LessEqualDec ¶
LessEqualDec will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint) LessEqualInc ¶
LessEqualInc will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint) LessEqualSet ¶
LessEqualSet will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint) LessEqualSub ¶
LessEqualSub will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint) LessInc ¶
LessInc will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint) LessSub ¶
LessSub will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint) NotEqualSet ¶
NotEqualSet will check if the value is != the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint) UnsafeDec ¶
UnsafeDec will decrement the current value by 1 and return the new value, with no Lock.
func (*Uint) UnsafeInc ¶
UnsafeInc will increment the current value by 1 and return the new value, with no Lock.
type Uint16 ¶
Uint16 is a thread-safe uint16 implementation.
func (*Uint16) EqualSet ¶
EqualSet will check if the value is == the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint16) GreaterAdd ¶
GreaterAdd will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint16) GreaterDec ¶
GreaterDec will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint16) GreaterEqualAdd ¶
GreaterEqualAdd will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint16) GreaterEqualDec ¶
GreaterEqualDec will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint16) GreaterEqualInc ¶
GreaterEqualInc will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint16) GreaterEqualSet ¶
GreaterEqualSet will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint16) GreaterEqualSub ¶
GreaterEqualSub will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint16) GreaterInc ¶
GreaterInc will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint16) GreaterSub ¶
GreaterSub will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint16) LessAdd ¶
LessAdd will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint16) LessDec ¶
LessDec will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint16) LessEqualAdd ¶
LessEqualAdd will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint16) LessEqualDec ¶
LessEqualDec will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint16) LessEqualInc ¶
LessEqualInc will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint16) LessEqualSet ¶
LessEqualSet will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint16) LessEqualSub ¶
LessEqualSub will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint16) LessInc ¶
LessInc will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint16) LessSub ¶
LessSub will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint16) NotEqualSet ¶
NotEqualSet will check if the value is != the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint16) UnsafeDec ¶
UnsafeDec will decrement the current value by 1 and return the new value, with no Lock.
func (*Uint16) UnsafeInc ¶
UnsafeInc will increment the current value by 1 and return the new value, with no Lock.
type Uint32 ¶
Uint32 is a thread-safe uint32 implementation.
func (*Uint32) EqualSet ¶
EqualSet will check if the value is == the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint32) GreaterAdd ¶
GreaterAdd will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint32) GreaterDec ¶
GreaterDec will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint32) GreaterEqualAdd ¶
GreaterEqualAdd will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint32) GreaterEqualDec ¶
GreaterEqualDec will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint32) GreaterEqualInc ¶
GreaterEqualInc will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint32) GreaterEqualSet ¶
GreaterEqualSet will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint32) GreaterEqualSub ¶
GreaterEqualSub will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint32) GreaterInc ¶
GreaterInc will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint32) GreaterSub ¶
GreaterSub will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint32) LessAdd ¶
LessAdd will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint32) LessDec ¶
LessDec will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint32) LessEqualAdd ¶
LessEqualAdd will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint32) LessEqualDec ¶
LessEqualDec will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint32) LessEqualInc ¶
LessEqualInc will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint32) LessEqualSet ¶
LessEqualSet will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint32) LessEqualSub ¶
LessEqualSub will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint32) LessInc ¶
LessInc will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint32) LessSub ¶
LessSub will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint32) NotEqualSet ¶
NotEqualSet will check if the value is != the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint32) UnsafeDec ¶
UnsafeDec will decrement the current value by 1 and return the new value, with no Lock.
func (*Uint32) UnsafeInc ¶
UnsafeInc will increment the current value by 1 and return the new value, with no Lock.
type Uint64 ¶
Uint64 is a thread-safe uint64 implementation.
func (*Uint64) EqualSet ¶
EqualSet will check if the value is == the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint64) GreaterAdd ¶
GreaterAdd will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint64) GreaterDec ¶
GreaterDec will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint64) GreaterEqualAdd ¶
GreaterEqualAdd will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint64) GreaterEqualDec ¶
GreaterEqualDec will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint64) GreaterEqualInc ¶
GreaterEqualInc will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint64) GreaterEqualSet ¶
GreaterEqualSet will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint64) GreaterEqualSub ¶
GreaterEqualSub will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint64) GreaterInc ¶
GreaterInc will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint64) GreaterSub ¶
GreaterSub will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint64) LessAdd ¶
LessAdd will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint64) LessDec ¶
LessDec will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint64) LessEqualAdd ¶
LessEqualAdd will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint64) LessEqualDec ¶
LessEqualDec will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint64) LessEqualInc ¶
LessEqualInc will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint64) LessEqualSet ¶
LessEqualSet will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint64) LessEqualSub ¶
LessEqualSub will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint64) LessInc ¶
LessInc will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint64) LessSub ¶
LessSub will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint64) NotEqualSet ¶
NotEqualSet will check if the value is != the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint64) UnsafeDec ¶
UnsafeDec will decrement the current value by 1 and return the new value, with no Lock.
func (*Uint64) UnsafeInc ¶
UnsafeInc will increment the current value by 1 and return the new value, with no Lock.
type Uint8 ¶
Uint8 is a thread-safe uint8 implementation.
func (*Uint8) EqualSet ¶
EqualSet will check if the value is == the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint8) GreaterAdd ¶
GreaterAdd will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint8) GreaterDec ¶
GreaterDec will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint8) GreaterEqualAdd ¶
GreaterEqualAdd will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint8) GreaterEqualDec ¶
GreaterEqualDec will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint8) GreaterEqualInc ¶
GreaterEqualInc will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint8) GreaterEqualSet ¶
GreaterEqualSet will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint8) GreaterEqualSub ¶
GreaterEqualSub will check if the value is >= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint8) GreaterInc ¶
GreaterInc will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint8) GreaterSub ¶
GreaterSub will check if the value is > the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint8) LessAdd ¶
LessAdd will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint8) LessDec ¶
LessDec will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint8) LessEqualAdd ¶
LessEqualAdd will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint8) LessEqualDec ¶
LessEqualDec will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint8) LessEqualInc ¶
LessEqualInc will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint8) LessEqualSet ¶
LessEqualSet will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint8) LessEqualSub ¶
LessEqualSub will check if the value is <= the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint8) LessInc ¶
LessInc will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint8) LessSub ¶
LessSub will check if the value is < the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint8) NotEqualSet ¶
NotEqualSet will check if the value is != the expected value. If it is, it will call the appropriate function and return true, otherwise it will simply return false.
func (*Uint8) UnsafeDec ¶
UnsafeDec will decrement the current value by 1 and return the new value, with no Lock.
func (*Uint8) UnsafeInc ¶
UnsafeInc will increment the current value by 1 and return the new value, with no Lock.