1
0
Fork 0
forked from forgejo/forgejo

Show download count info in release list (#10124)

* Show download count info in release list

* Use go-humanize
This commit is contained in:
Lauris BH 2020-02-03 21:50:37 +02:00 committed by GitHub
parent ea50f60df2
commit 20c513be6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 1207 additions and 40 deletions

8
vendor/github.com/dustin/go-humanize/humanize.go generated vendored Normal file
View file

@ -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