Expressions: Use enumerations rather than strings (#83741)

This commit is contained in:
Ryan McKinley
2024-03-01 19:38:32 +02:00
committed by GitHub
parent c59ebfc60f
commit 5f6bf93dd5
9 changed files with 77 additions and 41 deletions
@@ -16,8 +16,8 @@ import (
type dataEvaluator struct {
refID string
data []mathexp.Series
downsampleFunction string
upsampleFunction string
downsampleFunction mathexp.ReducerID
upsampleFunction mathexp.Upsampler
}
func newDataEvaluator(refID string, frame *data.Frame) (*dataEvaluator, error) {