utils

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFile

func CreateFile(file_path string) (*os.File, error)

func DeleteFile added in v0.4.0

func DeleteFile(file_path string) error

func GetFileContents added in v0.4.0

func GetFileContents(file_path string) ([]byte, error)

func GetZipFileReader added in v0.4.0

func GetZipFileReader(file_path string) (*zip.ReadCloser, error)

func UnzipFilesToFilenameContentMap added in v0.3.0

func UnzipFilesToFilenameContentMap(zipFile *zip.ReadCloser) (map[string][]byte, error)

func WriteBytesToFile

func WriteBytesToFile(file_path string, bytes []byte) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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