Browse Source

Refactored function name

Signed-off-by: Vishal Rana <vr@labstack.com>
Vishal Rana 10 năm trước cách đây
mục cha
commit
32546fb175
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      gytes/README.md

+ 2 - 2
gytes/README.md

@@ -25,7 +25,7 @@ fmt.Println(gytes.Format(1323))
 ### Binary prefix
 
 ```go
-gytes.BinaryPrefix(true)
+gytes.SetBinaryPrefix(true)
 fmt.Println(gytes.Format(1323))
 ```
 
@@ -46,7 +46,7 @@ fmt.Println(g.Format(13231323))
 
 ```go
 g := New()
-g.BinaryPrefix(true)
+g.SetBinaryPrefix(true)
 fmt.Println(g.Format(13231323))
 ```