perbandingan waktu golang

func inTimeSpan(start, end, check time.Time) bool {
    return check.After(start) && check.Before(end)
}
Wandering Wolf