package
module
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Jul 10, 2020
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
go-uhelpers
Package uhelpers (micro helpers) provides very tiny and simple helpers functions
Examples
package main
import (
"fmt"
uh "github.com/borislassort/go-uhelpers"
)
func main() {
// Download
err := uh.DownloadFile("file.zip", "https://the.u.r.l/file.zip")
if err != nil {
fmt.Println(err)
}
err := uh.Unzip("file.zip", "dir/")
if err != nil {
fmt.Println(err)
}
}
Documentation
¶
Package uhelpers (micro helpers) provides very tiny and simple helpers functions.
DownloadFile download a file from a direct URL
Unzip extract zip archive to a directory
Source Files
¶
Click to show internal directories.
Click to hide internal directories.