package
Version:
v1.2.0
Opens a new window with list of versions in this module.
Published: Dec 29, 2023
License: BSD-3-Clause
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package zipfile provides functionality related to zip files.
Create creates a zip file containing the given files.
files := map[string]string{
"./testdata/create-1.txt": "f1.txt", // source file name : destination file name
"./testdata/create-2.txt": "data/f2.txt",
}
err := Create("test.zip", files)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.