mdeuser commented on a change in pull request #2326: (Review) Alphabetize
URL: 
https://github.com/apache/incubator-openwhisk/pull/2326#discussion_r125633357
 
 

 ##########
 File path: tools/cli/go-whisk/whisk/util.go
 ##########
 @@ -28,6 +28,15 @@ import (
     "../wski18n"
 )
 
+// Sortable items are anything that needs to be sorted, listed, and printed.
+type Sortable interface {
+    Compare(s Sortable) bool  // Used for defining how to sort a Sortable
+}
+
+type Printable interface {
+    InfoToString() string     // Defines what information to print for a 
Sortable
 
 Review comment:
   Is there a particular output format that's expected to be produced by this 
function?  If so, a comment here would help direct future implementations of 
this interface
 
----------------------------------------------------------------
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