ziputils

package
v0.0.101 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadZip

func ReadZip(filename string) (map[string]string, error)

ReadZip is delegated to extract the files and read the content

func ReadZipBytes added in v0.0.76

func ReadZipBytes(raw io.ReadCloser) (map[string]string, error)

ReadZipBytes is delegated to extract the files and read the content

func ReadZipFile

func ReadZipFile(file *zip.File) (string, error)

ReadZipFile is a wrapper function for os.ReadAll. It accepts a zip.File as its parameter, opens it, reads its content and returns it as a byte slice.

Types

This section is empty.

Jump to

Keyboard shortcuts

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