package
0.0.0-20230405042253-4b529967f1ff
Repository: https://github.com/gofika/util.git
Documentation: pkg.go.dev

# Functions

CurrentDir return the directory where the program is located.
Delete removes the named file or directory.
DeleteAll removes path and any children it contains.
EnsureDirExists create all directory if not exists Example: EnsureDirExists("/foo/bar/baz.js") // the following directory will be created: /foo/bar/ EnsureDirExists("/foo/bar/baz/") // the following directory will be created: /foo/bar/baz/.
IsExist return true if file exists.
OpenWrite open file for write.
WriteFile write bytes to file.