• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

COPYINGH A D24-Sep-20191 KiB

README.mdH A D24-Sep-2019280

bytes.goH A D24-Sep-20192.4 KiB

bytes_test.goH A D24-Sep-20192.7 KiB

doc.goH A D24-Sep-2019348

go.modH A D24-Sep-201979

go.sumH A D24-Sep-2019968

si.goH A D24-Sep-20191.8 KiB

util.goH A D24-Sep-20192.7 KiB

README.md

1# Units - Helpful unit multipliers and functions for Go
2
3The goal of this package is to have functionality similar to the [time](http://golang.org/pkg/time/) package.
4
5It allows for code like this:
6
7```go
8n, err := ParseBase2Bytes("1KB")
9// n == 1024
10n = units.Mebibyte * 512
11```
12