From c53a1998c589a544b25d53f6e6fdf0f24a4df25b Mon Sep 17 00:00:00 2001 From: Joe Chen Date: Thu, 2 Feb 2023 21:25:25 +0800 Subject: all: replace `interface{}` with `any` (#7330) Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com> --- internal/db/backup_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/db/backup_test.go') diff --git a/internal/db/backup_test.go b/internal/db/backup_test.go index 52ce9aaa..fc00ada8 100644 --- a/internal/db/backup_test.go +++ b/internal/db/backup_test.go @@ -45,7 +45,7 @@ func TestDumpAndImport(t *testing.T) { } func setupDBToDump(t *testing.T, db *gorm.DB) { - vals := []interface{}{ + vals := []any{ &Access{ ID: 1, UserID: 1, -- cgit v1.2.3