style95 commented on code in PR #170:
URL:
https://github.com/apache/openwhisk-runtime-go/pull/170#discussion_r937277906
##########
tests/src/test/scala/runtime/actionContainers/ActionLoopGoContainerTests.scala:
##########
@@ -135,4 +135,28 @@ abstract class ActionLoopGoContainerTests
c.run(helloMsg()) should be(okMsg("hello-Hello", "Hello, Demo!"))
}
}
+
+ it should "support return array result" in {
+ val helloArrayGo = {
+ s"""
+ |package main
+ |
+ |func Main(obj map[string]interface{}) []interface{} {
Review Comment:
ok now I get it.
So originally the signature of the `Main` method is
```
func Main(obj map[string]interface{}) map[string]interface{} {
...
}
```
And now we add support for JSON array params.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]