Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 main

import (
"fmt"

"github.com/ernado/du"
)

func main() {
info, err := du.Get(".")
if err != nil {
panic(err)
}
fmt.Printf("%+v", info)
}
```