Skip to content

Commit

Permalink
Merge pull request #7 from krakendio/deepsource-fix-ef56e2f2
Browse files Browse the repository at this point in the history
Unused parameter should be replaced by underscore
  • Loading branch information
taik0 authored Nov 29, 2022
2 parents cee62ef + 9400016 commit 65a87a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions httpcache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ type fakeClock struct {
elapsed time.Duration
}

func (c *fakeClock) since(t time.Time) time.Duration {
func (c *fakeClock) since(_ time.Time) time.Duration {
return c.elapsed
}

Expand Down Expand Up @@ -1234,7 +1234,7 @@ type transportMock struct {
err error
}

func (t transportMock) RoundTrip(req *http.Request) (resp *http.Response, err error) {
func (t transportMock) RoundTrip(_ *http.Request) (resp *http.Response, err error) {
return t.response, t.err
}

Expand Down

0 comments on commit 65a87a5

Please sign in to comment.