time_test.go raw

   1  package utxostore_test
   2  
   3  import "time"
   4  
   5  func timeNow() time.Time                  { return time.Now() }
   6  func timeSince(t time.Time) time.Duration { return time.Since(t) }
   7  
   8  const millisecond = time.Millisecond
   9