rabbah commented on a change in pull request #4093: changes to include gloang 
runtime
URL: 
https://github.com/apache/incubator-openwhisk/pull/4093#discussion_r230253245
 
 

 ##########
 File path: docs/actions-go.md
 ##########
 @@ -17,67 +17,185 @@
 #
 -->
 
-## Creating and invoking Go actions
-
-Using OpenWhisk [native actions](actions-docker.md#creating-native-actions),
-you can package any executable as an action. This works for Go as an example.
-As with [Docker actions](actions-docker.md), the Go executable receives a 
single argument
-from the command line.
-It is a string serialization of the JSON object representing the arguments to 
the action.
-The program may log to `stdout` or `stderr`.
-By convention, the last line of output _must_ be a stringified JSON object 
which represents
-the result of the action.
-
-Here is an example Go action.
+<a name="golang"/>
+
+# Creating and Invoking Go Actions
+
+The runtime `actionloop-golang-v1.11` runtime can execute actions written in 
the Go programming language in OpenWhisk, either as precompiled binary or 
compiling sources on the fly.
+
+## Entry Point
+
+The source code of an action is one or more Go source file. The entry point of 
the action is a function, placed in the `main` package. The default name for 
the main function is `Main`, but you can change it to any name you want using 
the `--main` switch in `wsk`. The name is however always capitalized. The 
function must have a specific signature, as described next.
 
 Review comment:
   source fileS. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to