Explorar o código

Update README.md

Vishal Rana %!s(int64=10) %!d(string=hai) anos
pai
achega
7bd484b520
Modificáronse 1 ficheiros con 7 adicións e 1 borrados
  1. 7 1
      gytes/README.md

+ 7 - 1
gytes/README.md

@@ -31,7 +31,13 @@ fmt.Println(gytes.Format(1323))
 
 `1.29 KiB`
 
-Above examples operate on global instance of Gytes. To create a new instance
+### New intance
 
 ```go
+g := New()
+// g.BinaryPrefix(true)
+fmt.Println(g.Format(13231323))
+```
+
+`13.23 MB`