Skip to content

Simple library to download file from url and write them to your destined local directory.

Notifications You must be signed in to change notification settings

febriliankr/godownload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Godownload

Simple library to download file from url and write them to your destined local directory.

Installation

Install as a library

go get github.com/febriliankr/godownload

Usage

var url = "https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png"
var folderPath = "tmp"
res, err := godownload.Download(url, folderPath)

log.Println("File downloaded! Size:", res.Size, "Path:", res.FilePath)

About

Simple library to download file from url and write them to your destined local directory.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages