v0.2.0
Changelog
913a3d0
Breaking changes:
- Adding context and support for multi file downloads.
- change:
New
func now returns new *Got instead of *Download - add:
NewWithContext
func. - add:
NewDownload
returns new *Download - change: Progress methods now is a part of the download
- add: Context
- add:
RunProgress
method to run ProgressFunc - rm:
Progress
removed
97dd67a Improve default concurrency calculation and reset chunk pool item.
7aade22 Merge #17
b6e5a71 add github actions.
d142d32 add: default file name var
c58c7a9 add: error msg
14e3b75 add: example
410c983 add: race flag
7866184 add: sync pool && Download method moved to Download
ad9329f cli: handle piped stdin and batch file and multiple download args
12a13de fix: go vet errs
43c714a fix: test for windows
2b5d10e fix: typos
853a4de fix: typos
e3620cc fix: use TotalSize in content tests
037656e fmt and use one defer func in Start
98d5912 fmt code.
6eefa9f handle signal, and add dir flag
76f694f improve chunk size calculation.
872796b improve cli output
5b66243 improve cli tool
1d699c2 replace errgroup with channels
7b663da request funcs moved to got.go
b210e4d rm tmp.
949ff41 rm: errgroup using channels instead.
3de4283 rm: progress remove and methods moved to Download.
e08ec4b tests
b136c2c update readme.