Bläddra i källkod

Fixed godoc

Signed-off-by: Vishal Rana <vr@labstack.com>
Vishal Rana 10 år sedan
förälder
incheckning
b79e295443
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      bytes/bytes.go

+ 2 - 2
bytes/bytes.go

@@ -6,13 +6,13 @@ import (
 	"math"
 )
 
-// Format formats bytes to string. For example, 1024 returns 1 KB
+// Format formats bytes to string. For example, 1000 would returns 1 KB
 func Format(b uint64) string {
 	return format(float64(b), false)
 }
 
 // FormatBin formats bytes to string as specified by ICE standard. For example,
-// 13.23 MiB.
+// 1024 would return 1 KiB.
 func FormatBin(b uint64) string {
 	return format(float64(b), true)
 }