don't show docs for human
This commit is contained in:
@@ -51,7 +51,7 @@ func humanateBytes(s uint64, base float64, sizes []string) string {
|
||||
// Bytes produces a human readable representation of an SI size.
|
||||
//
|
||||
// Bytes(82854982) -> 83MB
|
||||
func Bytes(s uint64) string {
|
||||
func human(s uint64) string {
|
||||
sizes := []string{"B", "kB", "MB", "GB", "TB", "PB", "EB"}
|
||||
return humanateBytes(s, 1000, sizes)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user