Skip to content

Commit 328e4da

Browse files
committed
chore: lint
1 parent 564851e commit 328e4da

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dl/dl_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
type unusableHTTPClient struct{}
1111

12-
func (u unusableHTTPClient) Do(req *http.Request) (*http.Response, error) {
12+
func (u unusableHTTPClient) Do(_ *http.Request) (*http.Response, error) {
1313
panic("should not be called")
1414
}
1515

dl/internal/cache/zip.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ func (c *ZipReadonly) Get(key string) ([]byte, error) {
2828
return data, nil
2929
}
3030

31-
func (c *ZipReadonly) Set(key string, value []byte) error {
31+
func (c *ZipReadonly) Set(_ string, _ []byte) error {
3232
return fmt.Errorf("unsupported operation: set")
3333
}

extract_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313

1414
type unusableHTTPClient struct{}
1515

16-
func (u unusableHTTPClient) Do(req *http.Request) (*http.Response, error) {
16+
func (u unusableHTTPClient) Do(_ *http.Request) (*http.Response, error) {
1717
panic("should not be called")
1818
}
1919

0 commit comments

Comments
 (0)