Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Ago ¶
func Ago(timestamp *google_protobuf.Timestamp) string
Ago pretty-prints the amount of time that has passed since timestamp as a human-readable string.
func Duration ¶
func Duration(from *google_protobuf.Timestamp, to *google_protobuf.Timestamp) string
Duration pretty-prints the duration of time between from and to as a human-reabable string.
func UnescapeHTML ¶
UnescapeHTML returns s with < and > unescaped.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.