Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 968 Bytes

File metadata and controls

13 lines (10 loc) · 968 Bytes

GoDoc License: BSD-3 Go Report Card Build Status tag release

durations

some helpful time/duration funcs

This package is mostly sugar. If you want to do duration math with properly typed ints (think return values from other funcs) you have to cast that int to a time.Duration (int64). This package makes the invocations a bit more fluent and hides the casts from view.