Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Contains ¶ added in v1.5.1
func Contains[T comparable](haystack []T, needle T) bool
Contains searches for `needle` in `haystack` and returns `true` if found.
func Days ¶ added in v0.8.0
Days returns the number of days in a duration. Fraction of days are discarded.
func TimeFormat ¶
TimeFormat formats the given time, where an empty time is formatted as "not set".
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.