Documentation ¶
Index ¶
- type Duration
- func Days(d int) Duration
- func Hours(h int) Duration
- func Micros(m int) Duration
- func Millis(m int) Duration
- func Mins(m int) Duration
- func Months(m int) Duration
- func Nanos(n int) Duration
- func NewDuration(year, month, day int, dur time.Duration) Duration
- func Secs(s int) Duration
- func Sum(durs ...Duration) Duration
- func Years(y int) Duration
- type Time
- type Unit
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Duration ¶
func NewDuration ¶ added in v1.0.0
Click to show internal directories.
Click to hide internal directories.