Documentation ¶ Index ¶ func Create(paths ...string) error func Walk(root string, fn WalkFunc, skipGitignore ...bool) error type WalkFunc Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Create ¶ func Create(paths ...string) error Create creates directories with default permissions. func Walk ¶ func Walk(root string, fn WalkFunc, skipGitignore ...bool) error Walk walks the file tree rooted at root, calling fn for each file or directory in the tree, including root. By default, it respects .gitignore patterns. If you want to ignore .gitignore, pass the skipGitignore option. Types ¶ type WalkFunc ¶ type WalkFunc func(path string, info os.FileInfo, err error) error WalkFunc is the type of the function called by Walk for each file or directory. Source Files ¶ View all Source files dirs.gogitignore.go Click to show internal directories. Click to hide internal directories.