Versions in this module Expand all Collapse all v0 v0.3.2 Apr 11, 2022 Changes in this version + const Eq + const Gt + const Lt + var ErrCantFlattenSliceWithSet = errors.New("can't flatten slice with set") + var ErrConcatTypeMismatch = errors.New("concat: type mismatch") + var ErrGrowSizeMustBeStriclyPositive = errors.New("grow: size must be > 0") + var ErrOutOfRange = errors.New("out of range") + var ErrShrinkSizeMustBeLesserThanLen = errors.New("shrink: size must be < len") + var ErrShrinkSizeMustBeStriclyPositive = errors.New("shrink: size must be > 0") + type Interfacer interface + Interface func() interface{} + type Iterator interface + Current func() interface{} + Next func() bool + Reset func() + type NullBool struct + Bool bool + Valid bool + func (b NullBool) Interface() interface{} + type NullFloat32 struct + Float32 float32 + Valid bool + func (f NullFloat32) Interface() interface{} + type NullFloat64 struct + Float64 float64 + Valid bool + func (f NullFloat64) Interface() interface{} + type NullInt struct + Int int + Valid bool + func (i NullInt) Interface() interface{} + type NullInt32 struct + Int32 int32 + Valid bool + func (i NullInt32) Interface() interface{} + type NullInt64 struct + Int64 int64 + Valid bool + func (i NullInt64) Interface() interface{} + type NullString struct + String string + Valid bool + func (s NullString) Interface() interface{} + type NullTime struct + Time time.Time + Valid bool + func (t NullTime) Interface() interface{} + type RawValue struct + Valid bool + Value interface{} + func (r RawValue) Interface() interface{} + func (r RawValue) String() string + type Serie interface + All func() []interface{} + Append func(v ...interface{}) + Avg func(opt ...StatOption) float64 + Clear func() + Compare func(i, j int) int + Concat func(serie ...Serie) error + Copy func() Serie + Count func(opt ...StatOption) int64 + CountDistinct func(opt ...StatOption) int64 + Cusum func(opt ...StatOption) []float64 + Delete func(at int) error + Distinct func() Serie + EmptyCopy func() Serie + Get func(at int) interface{} + Grow func(size int) error + Head func(size int) Serie + Insert func(at int, v ...interface{}) error + Iterator func() Iterator + Max func(opt ...StatOption) float64 + Median func(opt ...StatOption) float64 + Min func(opt ...StatOption) float64 + NonNils func() Serie + Pick func(at ...int) Serie + Prepend func(v ...interface{}) error + Set func(at int, v interface{}) error + Shrink func(size int) error + Slice func() interface{} + SortAsc func() + SortDesc func() + Stddev func(opt ...StatOption) float64 + Subset func(at, size int) Serie + Sum func(opt ...StatOption) float64 + Tail func(size int) Serie + Type func() reflect.Type + Variance func(opt ...StatOption) float64 + Where func(predicate func(interface{}) bool) Serie + func AsFloat64(s Serie, missing *float64) Serie + func Bool(v ...interface{}) Serie + func BoolN(v ...interface{}) Serie + func Float32(v ...interface{}) Serie + func Float32N(v ...interface{}) Serie + func Float64(v ...interface{}) Serie + func Float64N(v ...interface{}) Serie + func Int(v ...interface{}) Serie + func Int32(v ...interface{}) Serie + func Int32N(v ...interface{}) Serie + func Int64(v ...interface{}) Serie + func Int64N(v ...interface{}) Serie + func IntN(v ...interface{}) Serie + func New(typ interface{}, converter interface{}, comparer interface{}) Serie + func Raw(v ...interface{}) Serie + func String(v ...interface{}) Serie + func StringN(v ...interface{}) Serie + func Time(format ...string) Serie + func TimeN(format ...string) Serie + type StatOption func(opts *StatOptions) + func Missing(f float64) StatOption + type StatOptions struct + Missing *float64