package
0.0.0-20211113074651-c6ea6ab4ee08
Repository: https://github.com/tsaikd/kdgolib.git
Documentation: pkg.go.dev

# Functions

IsDir return true if path exist and is directory.
IsExist return true if path exist https://gist.github.com/mattes/d13e273314c3b3ade33f if _, err := os.Stat("/path/to/whatever"); err == nil { // path/to/whatever exists }.
IsNotExist return true if path not exist https://gist.github.com/mattes/d13e273314c3b3ade33f if _, err := os.Stat("/path/to/whatever"); os.IsNotExist(err) { // path/to/whatever does not exist }.
SearchProjectRoot return project root dir if possible, searchFromDir will set to current working directory if empty.

# Variables