Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ernado/du
Go package for disk usage
https://github.com/ernado/du
Last synced: about 20 hours ago
JSON representation
Go package for disk usage
- Host: GitHub
- URL: https://github.com/ernado/du
- Owner: ernado
- License: apache-2.0
- Created: 2023-03-13T13:06:43.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-03-13T13:48:20.000Z (over 1 year ago)
- Last Synced: 2024-10-15T02:47:04.778Z (24 days ago)
- Language: Go
- Size: 18.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# du [![Go Reference](https://pkg.go.dev/badge/github.com/ernado/du.svg)](https://pkg.go.dev/github.com/ernado/du)
Disk usage package for Go.
```go
go get github.com/ernado/du
``````go
package mainimport (
"fmt"
"github.com/ernado/du"
)func main() {
info, err := du.Get(".")
if err != nil {
panic(err)
}
fmt.Printf("%+v", info)
}
```