Browse Source

Refactored function name

Signed-off-by: Vishal Rana <vr@labstack.com>
Vishal Rana 10 years ago
parent
commit
32546fb175
1 changed files with 2 additions and 2 deletions
  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))
 ```