Documentation ¶ Index ¶ func Create(src string, dest string, skipPaths ...string) error func Extract(src, dest string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Create ¶ func Create(src string, dest string, skipPaths ...string) error Create creates a new zip archive from src dir content and saves it in dest path. You can specify skipPaths to skip/ignore certain directories and files (relative to src) preventing adding them in the final archive. func Extract ¶ func Extract(src, dest string) error Extract extracts the zip archive at "src" to "dest". Note that only dirs and regular files will be extracted. Symbolic links, named pipes, sockets, or any other irregular files are skipped because they come with too many edge cases and ambiguities. Types ¶ This section is empty. Source Files ¶ View all Source files create.go extract.go Click to show internal directories. Click to hide internal directories.