(user string, resultCount, totalCount int)
| 92 | } |
| 93 | |
| 94 | func listHeader(user string, resultCount, totalCount int) string { |
| 95 | if totalCount == 0 { |
| 96 | return "There are no organizations associated with @" + user |
| 97 | } |
| 98 | |
| 99 | return fmt.Sprintf("Showing %d of %s", resultCount, text.Pluralize(totalCount, "organization")) |
| 100 | } |