Documentation ¶ Index ¶ func Zip(dirPath string, insidePath string) ([]string, []byte, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Zip ¶ func Zip(dirPath string, insidePath string) ([]string, []byte, error) Zip returns paths added to zip & zip bytes or error. Inside path is path used inside zip, e.g. if out/test.txt exists and out/ dir is zipped with insidePath src/, zip will contains src/test.txt. Types ¶ This section is empty. Source Files ¶ View all Source files zip.go Click to show internal directories. Click to hide internal directories.