(writer io.Writer, baseURL string, packages []string)
| 33 | } |
| 34 | |
| 35 | func PrintShowURL(writer io.Writer, baseURL string, packages []string) { |
| 36 | if len(packages) > 0 { |
| 37 | for i, p := range packages { |
| 38 | packages[i] = url.PathEscape(p) |
| 39 | } |
| 40 | |
| 41 | sort.StringSlice.Sort(packages) |
| 42 | fmt.Fprintf(writer, "See more results at %s/compare/packages/%s\n", baseURL, strings.Join(packages, ",")) |
| 43 | } |
| 44 | } |
no outgoing calls