file_zip

package module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 2 Imported by: 0

README

File Zipper

Installation

go get -u github.com/metadiv-io/file_zip

Zip files

zipper := file_zip.New()

zipper.Add("file1.txt", bytes.NewReader([]byte("file1 content")))
zipper.Add("file2.txt", bytes.NewReader([]byte("file2 content")))

zipBytes := zipper.Zip()

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() *zipper

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL