walkup

package module
Version: v1.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2021 License: MIT Imports: 4 Imported by: 0

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

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

License

MIT

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Walkup

func Walkup(base string, filename string, level int) []string

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL