Add goroutines

This commit is contained in:
2021-04-05 11:28:47 -07:00
parent e5b8521ba4
commit 836149ffc2
2 changed files with 31 additions and 19 deletions
+2 -2
View File
@@ -22,7 +22,7 @@ var Funcs = FuncMap{
"append": appendArray,
"exit": scptExit,
"return": setReturn,
"print": scptPrint,
"print": scptPrint,
}
// Default function to convert unnamed argument to a string using fmt.Sprint
@@ -116,4 +116,4 @@ func scptPrint(args map[string]interface{}) (interface{}, error) {
// Print message
fmt.Println(val)
return nil, nil
}
}