timeago

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromDuration

func FromDuration(d time.Duration) string

FromDuration returns a friendly string representing an approximation of the given duration

func FromTime

func FromTime(t time.Time) string

FromTime returns a friendly string representing the approximate difference from the given time and time.Now()

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL