akrabat commented on a change in pull request #2326: (WIP) Alphabetize
URL: 
https://github.com/apache/incubator-openwhisk/pull/2326#discussion_r123268585
 
 

 ##########
 File path: tools/cli/go-whisk-cli/commands/util.go
 ##########
 @@ -242,27 +243,70 @@ func getEscapedJSON(value string) (string) {
 func isValidJSON(value string) (bool) {
     var jsonInterface interface{}
     err := json.Unmarshal([]byte(value), &jsonInterface)
+
     return err == nil
 }
 
 var boldString = color.New(color.Bold).SprintFunc()
 
+type SortCmds []whisk.Sortable
+//Uses Go builtin sort to sort commands based on their compare methods
 
 Review comment:
   Add a space between the comment marker (`//`) and the text.
 
----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to