diff options
author | Michael Muré <batolettre@gmail.com> | 2018-07-19 18:10:45 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-07-19 18:10:45 +0200 |
commit | 0a7814f33a44a57924ac4c6dfeca20cf741dc1f3 (patch) | |
tree | 7e0afa88cf16dbaaab14e97dca8a6365a0300b67 /vendor/github.com/dustin/go-humanize/humanize.go | |
parent | d7313068fbb95829175fe108352b7b1e99e6fe9d (diff) | |
download | git-bug-0a7814f33a44a57924ac4c6dfeca20cf741dc1f3.tar.gz |
humanize time
Diffstat (limited to 'vendor/github.com/dustin/go-humanize/humanize.go')
-rw-r--r-- | vendor/github.com/dustin/go-humanize/humanize.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vendor/github.com/dustin/go-humanize/humanize.go b/vendor/github.com/dustin/go-humanize/humanize.go new file mode 100644 index 00000000..a2c2da31 --- /dev/null +++ b/vendor/github.com/dustin/go-humanize/humanize.go @@ -0,0 +1,8 @@ +/* +Package humanize converts boring ugly numbers to human-friendly strings and back. + +Durations can be turned into strings such as "3 days ago", numbers +representing sizes like 82854982 into useful strings like, "83 MB" or +"79 MiB" (whichever you prefer). +*/ +package humanize |