golang time compare 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)
}