typeFilepath changed

This commit is contained in:
Celestino Amoroso 2024-06-02 11:54:43 +02:00
parent 4f432da2b9
commit cff21b40f7

View File

@ -138,10 +138,10 @@ func doImport(ctx ExprContext, name string, dirList []string, it Iterator) (resu
func ImportImportFuncs(ctx ExprContext) {
ctx.RegisterFunc("import", newGolangFunctor(importFunc), typeAny, []ExprFuncParam{
newFuncParamFlag(typeFilepath, pfRepeat),
newFuncParamFlag(paramFilepath, pfRepeat),
})
ctx.RegisterFunc("importAll", newGolangFunctor(importAllFunc), typeAny, []ExprFuncParam{
newFuncParamFlag(typeFilepath, pfRepeat),
newFuncParamFlag(paramFilepath, pfRepeat),
})
}