build: apply gofmt from go1.13 to change case of number literals

This commit is contained in:
Nick Craig-Wood
2019-09-05 13:59:06 +01:00
parent 7b0966880e
commit ffa1dac10b
16 changed files with 37 additions and 37 deletions

View File

@@ -298,7 +298,7 @@ func (f *Fs) Put(ctx context.Context, in io.Reader, src fs.ObjectInfo, options .
// This will create a duplicate if we upload a new file without
// checking to see if there is one already - use Put() for that.
func (f *Fs) putUnchecked(ctx context.Context, in io.Reader, remote string, size int64, options ...fs.OpenOption) (fs.Object, error) {
if size > int64(100E9) {
if size > int64(100e9) {
return nil, errors.New("File too big, cant upload")
} else if size == 0 {
return nil, fs.ErrorCantUploadEmptyFiles