Vishal Rana 1109e5b250 Changed binary prefix function há 10 anos atrás
..
README.md 1109e5b250 Changed binary prefix function há 10 anos atrás
bytes.go 1109e5b250 Changed binary prefix function há 10 anos atrás
bytes_test.go 1109e5b250 Changed binary prefix function há 10 anos atrás

README.md

Bytes

Format bytes to string

Installation


## [Usage](https://github.com/labstack/gommon/blob/master/bytes/bytes_test.go)

### Decimal prefix

```go
fmt.Println(bytes.Format(1323))

1.32 KB

Binary prefix

fmt.Println(bytes.FormatB(1323))

1.29 KiB