Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatNumber ¶
Types ¶
type TimeTracker ¶ added in v1.2.0
type TimeTracker struct { Years int Months int Days int Hours int Minutes int Seconds int // contains filtered or unexported fields }
func NewTimeTracker ¶ added in v1.2.0
func NewTimeTracker(Time time.Time) *TimeTracker
func (*TimeTracker) Format ¶ added in v1.2.0
func (t *TimeTracker) Format(format string) string
func (*TimeTracker) IsFuture ¶ added in v1.2.0
func (t *TimeTracker) IsFuture() bool
func (*TimeTracker) IsPast ¶ added in v1.2.0
func (t *TimeTracker) IsPast() bool
func (*TimeTracker) IsZero ¶ added in v1.2.0
func (t *TimeTracker) IsZero() bool
Click to show internal directories.
Click to hide internal directories.