Convert the input values and deadline to time.Time values and compare the time.Time values with the Time.Before and Time.After methods.
time.Time
time.Time values represent an instant in time and can be compared without considering the time's location.