go-tus icon indicating copy to clipboard operation
go-tus copied to clipboard

An enhancement for files which have been uploaded?

Open ajeecai opened this issue 5 years ago • 0 comments

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. image

ajeecai avatar Jan 12 '20 04:01 ajeecai