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

..03-May-2022-

COPYINGH A D08-Feb-20211 KiB

README.mdH A D08-Feb-2021280

bytes.goH A D08-Feb-20212.5 KiB

bytes_test.goH A D08-Feb-20213.6 KiB

doc.goH A D08-Feb-2021348

go.modH A D08-Feb-202188

go.sumH A D08-Feb-2021968

si.goH A D08-Feb-20211.8 KiB

util.goH A D08-Feb-20212.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