Documentation ¶ Index ¶ func AddToZip(zipWriter *zip.Writer, source string, rootSource string, logger *logrus.Logger) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func AddToZip ¶ func AddToZip(zipWriter *zip.Writer, source string, rootSource string, logger *logrus.Logger) error AddToZip creates a source object (either a file, or a directory that will be recursively added) to a previously opened zip.Writer. The archive path of `source` is relative to the `rootSource` parameter. Types ¶ This section is empty. Source Files ¶ View all Source files zip.go Click to show internal directories. Click to hide internal directories.