From bda703b28093fbbfae59070c285340ba4c76e2e6 Mon Sep 17 00:00:00 2001 From: Sophia Wang Date: Tue, 3 Dec 2024 16:47:43 +0800 Subject: [PATCH] feat: add gofmt to golang-ci linters to validate format Signed-off-by: Sophia Wang --- .golangci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.golangci.yml b/.golangci.yml index 2a7a765..0690d82 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -8,3 +8,5 @@ linters: - unused # Finds unused variables, functions, etc. - gosec # Security checks for Go code - goimports # Checks import statements are formatted + - gofmt # Checks whether code was gofmt-ed +