build: replace the deprecated golint linter with revive

This fixes up a small number of new lint items also
This commit is contained in:
Nick Craig-Wood 2021-10-14 17:49:41 +01:00
parent 167406bc68
commit a98e3ea6f1
7 changed files with 7 additions and 7 deletions

View file

@ -304,7 +304,7 @@ func (f *Fs) List(ctx context.Context, dir string) (entries fs.DirEntries, err e
var limit uint64 = 100 // max number of objects per request - 100 seems to be the maximum the api accepts
var page uint64 = 1
var offset uint64 = 0 // for the next page of requests
var offset uint64 // for the next page of requests
for {
opts := &api.MetadataRequestOptions{