all: fix unused method receiver (#8988)

refactor: fix unused method receiver

Methods with unused receivers can be a symptom of unfinished refactoring or a bug. To keep 
the same method signature, omit the receiver name or '_' as it is unused.

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
This commit is contained in:
deepsource-autofix[bot]
2023-07-18 14:34:50 +00:00
committed by GitHub
co-authored by deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
parent 24e230d455
commit f23c41221b
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -229,7 +229,7 @@ func (c *alwaysChanged) Seen(fs fs.Filesystem, name string) bool {
return ok
}
func (c *alwaysChanged) Changed() bool {
func (*alwaysChanged) Changed() bool {
return true
}