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

@ -132,7 +132,7 @@ func (o *Object) Open(ctx context.Context, options ...fs.OpenOption) (_ io.ReadC
// Convert the semantics of HTTP range headers to an offset and length
// that libuplink can use.
var (
offset int64 = 0
offset int64
length int64 = -1
)