This commit is contained in:
Victor Vieux 2013-05-23 09:35:20 +00:00
parent 6fce89e60b
commit ed56b6a905
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ func HumanDuration(d time.Duration) string {
return fmt.Sprintf("%d years", d.Hours()/24/365) return fmt.Sprintf("%d years", d.Hours()/24/365)
} }
// HumanSize returns a human-readabla approximation of a size // HumanSize returns a human-readable approximation of a size
// (eg. "44kB", "17MB") // (eg. "44kB", "17MB")
func HumanSize(size int64) string { func HumanSize(size int64) string {
i := 0 i := 0