util

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decompress added in v0.4.0

func Decompress(src string, dst string) error

func DecompressGz added in v0.4.0

func DecompressGz(src string, dst string) error

func Download

func Download(url string, dst string) error

func Extract added in v0.4.0

func Extract(src string, dst string) error

Extract extracts the archive at src to the directory dst. If the archive format is not supported or there was an error extracting, an error is returned.

func ExtractTar added in v0.4.0

func ExtractTar(src string, dst string) error

func ExtractZip

func ExtractZip(src string, dst string) error

func ExtractZipFromBytes added in v0.4.0

func ExtractZipFromBytes(b []byte, dst string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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