Simple binary aimed to humanize the sizes
$ echo 5436537 | hr
5.4M
go get github.com/mdouchement/hr
- On your current OS
go build hr.go
According to Golang system list
- GNU/Linux
GOOS=linux GOARCH=amd64 go build -o hr-Linux-x86_64 hr.go
- Mac OSX (darwin)
GOOS=darwin GOARCH=amd64 go build -o hr-Darwin-x86_64 hr.go
- MS Windows
GOOS=windows GOARCH=amd64 go build -o hr-Windows-x86_64.exe hr.go
MIT
- Fork it ( https://github.com/mdouchement/hr/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request