(publishedAt time.Time)
| 341 | } |
| 342 | |
| 343 | func isRecentRelease(publishedAt time.Time) bool { |
| 344 | return !publishedAt.IsZero() && time.Since(publishedAt) < time.Hour*24 |
| 345 | } |
| 346 | |
| 347 | // Check whether the gh binary was found under the Homebrew prefix |
| 348 | func isUnderHomebrew(ghBinary string) bool { |