(publishedAt time.Time)
| 368 | } |
| 369 | |
| 370 | func isRecentRelease(publishedAt time.Time) bool { |
| 371 | return !publishedAt.IsZero() && time.Since(publishedAt) < time.Hour*24 |
| 372 | } |
| 373 | |
| 374 | // Check whether the gh binary was found under the Homebrew prefix |
| 375 | func isUnderHomebrew(ghBinary string) bool { |