Skip to content
This repository has been archived by the owner on May 18, 2023. It is now read-only.

Commit

Permalink
Merge pull request #36 from djmitche/issue30
Browse files Browse the repository at this point in the history
add a Duration type alias
  • Loading branch information
djmitche committed Oct 25, 2021
2 parents f495692 + 850609f commit 4378ee0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions clock.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ import (
"time"
)

// Re-export of time.Duration
type Duration = time.Duration

// Clock represents an interface to the functions in the standard library time
// package. Two implementations are available in the clock package. The first
// is a real-time clock which simply wraps the time package's functions. The
Expand Down

0 comments on commit 4378ee0

Please sign in to comment.