Documentation ¶
Overview ¶
Package period contains extensions for time.Duration to represent days and months.
Index ¶
Constants ¶
View Source
const ( // Day represents the amount of time in a single day. Day = Period(time.Hour * 24) // Week represents the amount of time in a single week. Week = Day * 7 // Month represents the amount of time in 30 days. Month = Day * 30 // Year represents the amount of time in a year. Year = Day * 365 )
nolint: gomnd
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.