supportedPlatforms returns a comma-separated list of supported platforms.
()
| 257 | |
| 258 | // supportedPlatforms returns a comma-separated list of supported platforms. |
| 259 | func supportedPlatforms() string { |
| 260 | platforms := make([]string, 0, len(pgBinaries)) |
| 261 | for p := range pgBinaries { |
| 262 | platforms = append(platforms, p) |
| 263 | } |
| 264 | return strings.Join(platforms, ", ") |
| 265 | } |
| 266 | |
| 267 | // downloadFile downloads a URL to a local file path. |
| 268 | func downloadFile(filepath string, url string) error { |
no test coverage detected
searching dependent graphs…