Versions in this module Expand all Collapse all v1 v1.0.3-beta.rc0 Mar 2, 2024 v1.0.2-beta.rc0 Feb 29, 2024 v1.0.1-beta.rc0 Feb 16, 2024 v1.0.0 Mar 3, 2024 Changes in this version + const DataTypeBool + const DataTypeFloat64 + const DataTypeInt + const DataTypeStr + const Eq + const Gt + const Gte + const Lt + const Lte + const Max + const Neq + const OperatorEq + const OperatorGt + const OperatorGte + const OperatorLt + const OperatorLte + const OperatorNeq + const Sum + func ConvertToFloat64(value any) (float64, bool) + func ConvertToInt(value any) (int, bool) + func GetOp(op string) (string, error) + type AggOp string + func (a AggOp) Max() string + func (a AggOp) Sum() string + type Aggregation struct + Comparison *Operation + CurrentMaxFloat64 float64 + CurrentMaxInt int + CurrentMinInt int + DataSlice []IrisRoutingResponseETL + DataType string + Name string + Operator AggOp + SumInt int + func (a *Aggregation) AggregateEqInt(x IrisRoutingResponseETL) error + func (a *Aggregation) AggregateGtEqInt(x IrisRoutingResponseETL) error + func (a *Aggregation) AggregateGtInt(x IrisRoutingResponseETL) error + func (a *Aggregation) AggregateLtEqInt(x IrisRoutingResponseETL) error + func (a *Aggregation) AggregateLtInt(x IrisRoutingResponseETL) error + func (a *Aggregation) AggregateMaxFloat64(x float64, y IrisRoutingResponseETL) error + func (a *Aggregation) AggregateMaxInt(x int, y IrisRoutingResponseETL) error + func (a *Aggregation) AggregateNeqInt(x IrisRoutingResponseETL) error + func (a *Aggregation) AggregateOn(x any, y IrisRoutingResponseETL) error + func (a *Aggregation) AggregateSumInt(x int, y IrisRoutingResponseETL) error + type IrisRoutingResponseETL struct + DataType string + ExtractionKey string + Source string + Value any + func (r *IrisRoutingResponseETL) ExtractKeyValue(m map[string]interface{}) + type Op string + func (o Op) Eq() string + func (o Op) Gt() string + func (o Op) Gte() string + func (o Op) Lt() string + func (o Op) Lte() string + func (o Op) Neq() string + type Operation struct + DataTypeX string + DataTypeY string + DataTypeZ string + Operator Op + X any + Y any + Z any + func (o *Operation) Compute(operator Op, x any, y any) error v1.0.0-beta.rc5 Dec 14, 2023 v1.0.0-beta.rc4 Nov 24, 2023 v1.0.0-beta.rc3 Nov 24, 2023 v1.0.0-beta.rc2 Nov 24, 2023 v1.0.0-beta.rc1 Nov 15, 2023 v0 v0.6.0-quicknode Oct 23, 2023