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