File: humanize.go

package info (click to toggle)
golang-github-dustin-go-humanize 1.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental, sid, trixie
  • size: 184 kB
  • sloc: makefile: 2
file content (8 lines) | stat: -rw-r--r-- 276 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
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