diff --git a/README.md b/README.md index 7cdae6a..88c749c 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,15 @@ ## Usage -TODO +```go +import "moul.io/openfiles" + +count, err := openfiles.Count() +fmt.Println(count) // 42 + +emfile := openfiles.IsTooManyError(err) +fmt.Println(emfile) // true +``` ## Install