Documentation ¶ Index ¶ func Directory(target, source string) error func UnZip(dest, src string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Directory ¶ func Directory(target, source string) error Directory zips the specified directory into the target file. Note: source must be an absolute path. Also, this is untested with symlinks. func UnZip ¶ func UnZip(dest, src string) error UnZip unzips the file specified in src into the 'dest' directory. Note: * The parent directory will be created using the mode of the first directory in the zip. * src could be partially populated if an error is returned. Types ¶ This section is empty. Source Files ¶ View all Source files zip.go Click to show internal directories. Click to hide internal directories.