ZipWriter defines an interface for writing files to a ZIP archive. It provides methods to create new files within the archive, add files from a filesystem, and close the archive when writing is complete.
| 68 | // provides methods to create new files within the archive, add files from a |
| 69 | // filesystem, and close the archive when writing is complete. |
| 70 | type ZipWriter interface { |
| 71 | Create(name string) (io.Writer, error) |
| 72 | AddFS(fsys fs.FS) error |
| 73 | Close() error |
| 74 | } |
| 75 | |
| 76 | // Options define the options for opening and reading the spreadsheet. |
| 77 | // |
no outgoing calls
no test coverage detected