github.com/miketweaver/go-disk-usage

Get disk usage information like how much space is available, free, and used


License
Unlicense
Install
go get github.com/miketweaver/go-disk-usage

Documentation

go-disk-usage

Get disk usage information like how much space is available, free, and used.

##Documentation Documentation can be found here and there is a short example of how to use this library.

##Compatibility This works for Windows, MacOS, and Linux although there may some minor variability between what this library reports and what you get from df. This library will maintain reverse compatability, any breaking changes will be made to a forked repository.