Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsDirOrCreate ¶
IsDirOrCreate checks if the given path exists and is a directory. If the directory does not exist, it attempts to create it.
func IsDirOrError ¶
IsDirOrError checks if the given path exists and is a directory.
func IsFileOrCreate ¶
IsFileOrCreate checks if the given path exists and is a file. If the file does not exist, it attempts to create it.
func IsFileOrError ¶
IsFileOrError checks if the given path exists and is a file.
func WriteToFile ¶
WriteToFile writes the given data to a file at the specified path. If the file does not exist, it is created.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.