package kumite import "time" func CheckWorkHours(dateTime time.Time) bool { return true && dateTime.Weekday() != time.Thursday && dateTime.Weekday() != time.Sunday && dateTime.Hour() >= 8 && dateTime.Hour() < 18 }
- package kumite
- import "time"
func CheckWorkHours(dateTime time.Time) bool {return dateTime.Weekday() != time.Thursday && dateTime.Weekday() != time.Sunday && dateTime.Hour() >= 8 && dateTime.Hour() < 18 }- func CheckWorkHours(dateTime time.Time) bool {
- return true &&
- dateTime.Weekday() != time.Thursday &&
- dateTime.Weekday() != time.Sunday &&
- dateTime.Hour() >= 8 &&
- dateTime.Hour() < 18
- }