Documentation ¶ Index ¶ func Clone(t time.Time) time.Time func ClonePtr(t *time.Time) *time.Time func Earliest(times ...time.Time) (earliest time.Time) func EarliestPtr(times ...*time.Time) (earliest *time.Time) func Latest(times ...time.Time) (latest time.Time) func LatestPtr(times ...*time.Time) (latest *time.Time) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Clone ¶ func Clone(t time.Time) time.Time func ClonePtr ¶ func ClonePtr(t *time.Time) *time.Time func Earliest ¶ func Earliest(times ...time.Time) (earliest time.Time) Find earliest time form the list. Returns zero instance if no data. func EarliestPtr ¶ func EarliestPtr(times ...*time.Time) (earliest *time.Time) Same as Earliest, but accepts null. func Latest ¶ func Latest(times ...time.Time) (latest time.Time) func LatestPtr ¶ func LatestPtr(times ...*time.Time) (latest *time.Time) Same as Latest, but accepts nil. Types ¶ This section is empty. Source Files ¶ View all Source files compare.go Click to show internal directories. Click to hide internal directories.