Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/qs-f/walkup
- Owner: Qs-F
- License: mit
- Created: 2018-07-13T02:43:05.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2023-08-31T11:19:19.000Z (over 1 year ago)
- Last Synced: 2024-12-09T07:55:39.561Z (13 days ago)
- Topics: file, go, golang, walk
- Language: Go
- Homepage: https://pkg.go.dev/github.com/Qs-F/walkup
- Size: 24.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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