Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Human ¶
Human turns the time into a relative expression of time meant for human consumption. Human(t) --> "today at 07:47"
func MockTimeNow ¶
MockTimeNow mocks the time.Now() calls used in the timeutil package.
Types ¶
type TimeUTC ¶
TimeUTC is like time.Time but converts to UTC when (un)marshalled.
func (TimeUTC) MarshalText ¶
func (TimeUTC) MarshalYAML ¶
func (*TimeUTC) UnmarshalText ¶
Click to show internal directories.
Click to hide internal directories.