Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 616 Bytes

README.md

File metadata and controls

24 lines (20 loc) · 616 Bytes

idg

A simple tool that support you download file at very fast speed was implemented by Golang.

Build Status GoDoc

Run test

Make test

Example

	file, err := idg.NewFile("https://storage.googleapis.com/golang/go1.9.linux-amd64.tar.gz")
	if err != nil {
		log.Fatal(err)
	}

	if err := file.StartDownload(); err != nil {
		log.Fatal(err)
	}
	time.Sleep(time.Second)

example