Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Unzip ¶
Unzip unzips the specified zip file and extracts the contents of the zip file to the specified destination.
**Parameters:**
src: A string representing the path to the zip file.
dest: A string representing the path to the destination directory.
**Returns:**
error: An error if any issue occurs while trying to unzip the file.
func Zip ¶
Zip creates a zip file from the specified source directory and saves it to the specified destination path.
**Parameters:**
srcDir: A string representing the path to the source directory.
destFile: A string representing the path to the destination zip file.
**Returns:**
error: An error if any issue occurs while trying to zip the file.
Types ¶
This section is empty.