dl

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Download

func Download(uri string, dir string) error

Download : download a url object then save it to file uri -- url string dir -- current file dir for instance

uri -> https://example.com/1.jpg
dir -> /home/pics
would download file then save as /home/pics/1.jpg

Types

This section is empty.

Jump to

Keyboard shortcuts

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