github.com/mrz1836/go-download

:floppy_disk: Utility to download multiple remote files from a JSON configuration


Keywords
go, golang, download, download-manager
License
Apache-2.0
Install
go get github.com/mrz1836/go-download

Documentation

go-download

go-download takes a JSON configuration of urls, paths and file names and downloads all the files locally

Build Status Report Codacy Badge Release standard-readme compliant GoDoc

Table of Contents

Installation

go-download requires a supported release of Go.

$ go get -u github.com/mrz1836/go-download

Documentation

You can view the generated documentation here.

Examples & Tests

All unit tests run via Travis CI and uses Go version 1.13.x. View the deployment configuration file.

$ cd ../go-download
$ go test ./... -v

Benchmarks

Run the Go benchmarks:

$ cd ../go-download
$ go test -bench . -benchmem

Code Standards

Read more about this Go project's code standards.

Usage

Basic implementation (using JSON File):

  1. store a local JSON file like example.JSON
  2. change the location in download.go
  3. run download package:
$ cd ../go-download
$ go run download.go

Maintainers

@MrZ

Contributing

View the contributing guidelines and follow the code of conduct.

Support the development of this project 🙏

Donate

License

License