소스 검색

Refactored function name

Signed-off-by: Vishal Rana <vr@labstack.com>
Vishal Rana 10 년 전
부모
커밋
32546fb175
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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))
 ```