all: Remove unused method receivers (#8462)
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
parent
388e4db9cd
commit
755d21953f
@@ -32,7 +32,7 @@ func (t *TestModel) Index(deviceID DeviceID, folder string, files []FileInfo) er
|
||||
return nil
|
||||
}
|
||||
|
||||
func (t *TestModel) IndexUpdate(_ DeviceID, _ string, _ []FileInfo) error {
|
||||
func (*TestModel) IndexUpdate(_ DeviceID, _ string, _ []FileInfo) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
@@ -61,7 +61,7 @@ func (t *TestModel) ClusterConfig(deviceID DeviceID, config ClusterConfig) error
|
||||
return nil
|
||||
}
|
||||
|
||||
func (t *TestModel) DownloadProgress(DeviceID, string, []FileDownloadProgressUpdate) error {
|
||||
func (*TestModel) DownloadProgress(DeviceID, string, []FileDownloadProgressUpdate) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
@@ -82,6 +82,6 @@ func (r *fakeRequestResponse) Data() []byte {
|
||||
return r.data
|
||||
}
|
||||
|
||||
func (r *fakeRequestResponse) Close() {}
|
||||
func (*fakeRequestResponse) Close() {}
|
||||
|
||||
func (r *fakeRequestResponse) Wait() {}
|
||||
func (*fakeRequestResponse) Wait() {}
|
||||
|
||||
Reference in New Issue
Block a user