BeforeOrEqual¶
func BeforeOrEqual(milestone time.Time, date time.Time) bool
BeforeOrEqual returns true if a date is before or equal to another date.
Deprecated: prefer !date.After(milestone) from the standard library.
func BeforeOrEqual(milestone time.Time, date time.Time) bool
BeforeOrEqual returns true if a date is before or equal to another date.
Deprecated: prefer !date.After(milestone) from the standard library.