Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add an options to show download progress #23

Open
axetroy opened this issue Dec 11, 2019 · 2 comments
Open

add an options to show download progress #23

axetroy opened this issue Dec 11, 2019 · 2 comments

Comments

@axetroy
Copy link

axetroy commented Dec 11, 2019

No description provided.

@rhysd
Copy link
Owner

rhysd commented Dec 12, 2019

Would be good idea. This is a library so directly calling Print in library code would not be useful. So I think It's nice to provide some callback in a field of Updater struct. User can determine what should be done on each tick of download by setting the callback function.

@rhysd
Copy link
Owner

rhysd commented Dec 12, 2019

Or providing io.Writerfield for writing progress bar would be another option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants