From 471f5620ccadbd47b531545204c29fd6b4f8af54 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Thu, 26 Sep 2024 03:14:09 +0000 Subject: [PATCH] style: format code with Gofumpt and Prettier This commit fixes the style issues introduced in 4f5a181 according to the output from Gofumpt and Prettier. Details: https://github.com/vdaas/vald/pull/2643 --- hack/tools/deadlink/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/tools/deadlink/main.go b/hack/tools/deadlink/main.go index 62ffe5a934..4e169cab32 100644 --- a/hack/tools/deadlink/main.go +++ b/hack/tools/deadlink/main.go @@ -175,9 +175,9 @@ func main() { errLinks map[string]int } // result for each file path - var res = map[string]result{} + res := map[string]result{} // map of external link to avoid DOS - var exLinks = map[string]int{} + exLinks := map[string]int{} for _, path := range paths { b, err := file.ReadFile(path) if err != nil {