forked from TrueCloudLab/rclone
build: replace the deprecated golint linter with revive
This fixes up a small number of new lint items also
This commit is contained in:
parent
167406bc68
commit
a98e3ea6f1
7 changed files with 7 additions and 7 deletions
|
@ -1260,7 +1260,7 @@ func (o *Object) Open(ctx context.Context, options ...fs.OpenOption) (rc io.Read
|
|||
return o.Object.Open(ctx, options...)
|
||||
}
|
||||
// Get offset and limit from OpenOptions, pass the rest to the underlying remote
|
||||
var openOptions []fs.OpenOption = []fs.OpenOption{&fs.SeekOption{Offset: 0}}
|
||||
var openOptions = []fs.OpenOption{&fs.SeekOption{Offset: 0}}
|
||||
var offset, limit int64 = 0, -1
|
||||
for _, option := range options {
|
||||
switch x := option.(type) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue