Documentation
¶
Index ¶
- func FixedZone(offset time.Duration) *time.Location
- func Now() time.Time
- func ParseDuration(s string) (r time.Duration, err error)
- func PrettyTruncate(t time.Duration) time.Duration
- func SetLocation(v time.Time, loc *time.Location) time.Time
- func TimeToDuration(t time.Time) time.Duration
- type Stopwatch
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Stopwatch ¶ added in v0.3.33
type Stopwatch struct {
// contains filtered or unexported fields
}
func NewStopwatch ¶ added in v0.3.33
func NewStopwatch() *Stopwatch
func (*Stopwatch) PrettyTime ¶ added in v0.3.33
Click to show internal directories.
Click to hide internal directories.