package
0.0.0-20250214074024-56dfb2eed7ac
Repository: https://github.com/citizenwallet/engine.git
Documentation: pkg.go.dev
# Functions
CreateDir creates a directory.
EraseDir erases the contents of a directory taken from: https://stackoverflow.com/questions/33450980/how-to-remove-all-contents-of-a-directory-using-golang.
EraseFile erases the file.
Exists checks if the given file or folder for a path exists.
GetUserHomeDir returns the user's home directory on linux, windows or macOS taken from: https://gist.github.com/miguelmota/f30a04a6d64bd52d7ab59ea8d95e54da.
Read reads data from a file.
Save saves data to a file.
Update updates data in a file.