use time.Now for timeInPast

This commit is contained in:
Naitik Shah 2013-10-07 22:57:59 -07:00
parent 60b34bd164
commit 211c8342b3

View File

@ -24,7 +24,7 @@ var (
ErrAlreadyClosed = errors.New("already closed")
// Time in the past to trigger immediate deadline.
timeInPast = time.Date(1983, time.November, 6, 0, 0, 0, 0, time.UTC)
timeInPast = time.Now()
)
const (