mirror of
https://github.com/lyx0/nourybot.git
synced 2024-11-13 19:49:55 +01:00
13 lines
202 B
Go
13 lines
202 B
Go
package humanize
|
|
|
|
import (
|
|
"time"
|
|
|
|
humanize "github.com/dustin/go-humanize"
|
|
)
|
|
|
|
// Time returns the humanized time for a supplied time value.
|
|
func Time(t time.Time) string {
|
|
return humanize.Time(t)
|
|
}
|