Documentation ¶ Index ¶ func RelTime(d int) string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func RelTime ¶ func RelTime(d int) string RelTime renders a duration in seconds as a human-readable relative-time string. This is the ORIGINAL implementation, kept verbatim so characterization tests can be pinned against it before refactoring. Types ¶ This section is empty. Source Files ¶ View all Source files reltime.go Click to show internal directories. Click to hide internal directories.