go-tus
go-tus copied to clipboard
An enhancement for files which have been uploaded?
Hi,
When I implement this example, I have met a problem: if the file has been uploaded, run this example again, it will hang there for ever. So my suggestion is in uploader.go, add the code similar like below. In this case, u.offset == u.upload.size at first calling but there is no signal to the chan.