You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Use matrix to test on windows and macos as well as linux
|2 years ago|
|.github/workflows||2 years ago|
|README.md||2 years ago|
|findup.go||2 years ago|
|findup_test.go||2 years ago|
|go.sum||2 years ago|
Go Find Up
Find a file or directory by walking up parent directories.
Install latest version
go get github.com/ojizero/gofindup
Import it into your code
This package only exposes 2 functions,
// looks the file recursively in parents starting from "./" gofindup.Findup("some-file-or-directory") // looks the file recursively in parents starting from "./some-starting-directory" gofindup.FindupFrom("some-file-or-directory", "some-starting-directory")