Skip to content

Commit

Permalink
cleanup warning
Browse files Browse the repository at this point in the history
  • Loading branch information
msbarry committed Feb 9, 2024
1 parent 91e42ad commit 0d39a99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pmtiles/bucket.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func (b FileBucket) NewRangeReader(ctx context.Context, key string, offset, leng
return body, err
}

func (b FileBucket) NewRangeReaderEtag(ctx context.Context, key string, offset, length int64, etag string) (io.ReadCloser, string, error) {
func (b FileBucket) NewRangeReaderEtag(_ context.Context, key string, offset, length int64, etag string) (io.ReadCloser, string, error) {

Check warning on line 80 in pmtiles/bucket.go

View workflow job for this annotation

GitHub Actions / fmt_vet_lint

exported method FileBucket.NewRangeReaderEtag should have comment or be unexported
name := filepath.Join(b.path, key)
file, err := os.Open(name)
defer file.Close()
Expand Down

0 comments on commit 0d39a99

Please sign in to comment.