mdeuser commented on a change in pull request #2326: (Review) Alphabetize
URL:
https://github.com/apache/incubator-openwhisk/pull/2326#discussion_r125633075
##########
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
Review comment:
Add a comment that describes the `Compare` functions behavior (i.e. when is
the return result `false` or `true`)
----------------------------------------------------------------
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