diff options
| author | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2024-06-16 16:03:54 -0700 |
|---|---|---|
| committer | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2024-06-16 16:05:25 -0700 |
| commit | 0ed5132769e88cb385b5240986b706430f0ccd72 (patch) | |
| tree | bd622161546d9db3293ba69afc9646bcdb24b2f4 /hotline/file_transfer.go | |
| parent | f6f1d88969e12eadb7013397cdad3c4c5625988c (diff) | |
Fix broken io.Reader implementations
Diffstat (limited to 'hotline/file_transfer.go')
| -rw-r--r-- | hotline/file_transfer.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/hotline/file_transfer.go b/hotline/file_transfer.go index ba4a1e1..7c24109 100644 --- a/hotline/file_transfer.go +++ b/hotline/file_transfer.go @@ -11,11 +11,11 @@ import ( // File transfer types const ( - FileDownload = 0 - FileUpload = 1 - FolderDownload = 2 - FolderUpload = 3 - bannerDownload = 4 + FileDownload = iota + FileUpload + FolderDownload + FolderUpload + bannerDownload ) type FileTransfer struct { |