Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/qs-f/walkup

pkg walkup - files and directories walk function going through parent directories recursively, written in Go
https://github.com/qs-f/walkup

file go golang walk

Last synced: 10 days ago
JSON representation

pkg walkup - files and directories walk function going through parent directories recursively, written in Go

Awesome Lists containing this project

README

        

# pkg `walkup`

Files and directories walk function going through parent directories recursively, written in Go.

This package is mainly used for finding the root `package.json` or `go.mod` file.

## Installation

```
go get -u github.com/Qs-F/walkup
```

## Usge

```go
walkup.Walkup("./", ".hello", 0)
// returns []string of including file or directory names witch you seeked.
```

## License

MIT