golang check if time is equal code example
Example: golang time comparision
func inTimeSpan(start, end, check time.Time) bool {
return check.After(start) && check.Before(end)
}
func inTimeSpan(start, end, check time.Time) bool {
return check.After(start) && check.Before(end)
}