toolzip

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UnZip

func UnZip(data []byte) (map[string][]byte, error)

UnZip extracts the contents of a zip archive and returns a map where the keys are filenames and the values are the file contents as []byte.

func Zip

func Zip(files map[string][]byte) ([]byte, error)

Zip converts a map[string][]byte to a zip archive as []byte.

Types

This section is empty.

Jump to

Keyboard shortcuts

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