refactored data-types to reduce plugin sizes
This commit is contained in:
+4
-3
@@ -8,6 +8,7 @@ import (
|
||||
"fmt"
|
||||
|
||||
"git.portale-stac.it/go-pkg/expr/kern"
|
||||
"git.portale-stac.it/go-pkg/expr/types"
|
||||
"git.portale-stac.it/go-pkg/expr/util"
|
||||
// "strings"
|
||||
)
|
||||
@@ -76,12 +77,12 @@ func (ctx *SimpleStore) Clone() kern.ExprContext {
|
||||
// }
|
||||
// }
|
||||
|
||||
func (ctx *SimpleStore) ToDict() (dict *kern.DictType) {
|
||||
return kern.ContextToDict(ctx)
|
||||
func (ctx *SimpleStore) ToDict() any {
|
||||
return types.ContextToDict(ctx)
|
||||
}
|
||||
|
||||
func (ctx *SimpleStore) ToString(opt kern.FmtOpt) string {
|
||||
return kern.ContextToString(ctx, opt)
|
||||
return types.ContextToString(ctx, opt)
|
||||
}
|
||||
|
||||
// func (ctx *SimpleStore) ToString(opt kern.FmtOpt) string {
|
||||
|
||||
Reference in New Issue
Block a user