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:
deepsource-autofix[bot]
2022-07-28 17:32:45 +02:00
committed by GitHub
co-authored by deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
parent 388e4db9cd
commit 755d21953f
38 changed files with 129 additions and 129 deletions
+1 -1
View File
@@ -266,7 +266,7 @@ func (r *Report) FieldPointers() []interface{} {
}
}
func (r *Report) FieldNames() []string {
func (*Report) FieldNames() []string {
// The database fields that back this struct in PostgreSQL
return []string{
// V1
+1 -1
View File
@@ -195,7 +195,7 @@ func (h *failureHandler) CommitConfiguration(from, to config.Configuration) bool
return true
}
func (h *failureHandler) String() string {
func (*failureHandler) String() string {
return "FailureHandler"
}
+1 -1
View File
@@ -328,7 +328,7 @@ func (s *Service) reportData(ctx context.Context, urVersion int, preview bool) (
return report, nil
}
func (s *Service) UptimeS() int {
func (*Service) UptimeS() int {
return int(time.Since(StartTime).Seconds())
}