From 3c288f58feb8a320f0504d00519291ff3c570e60 Mon Sep 17 00:00:00 2001 From: Sophia Wang Date: Wed, 4 Dec 2024 05:57:34 +0800 Subject: [PATCH] feat: add gofmt to golang-ci linters to validate format (#18) Signed-off-by: Sophia Wang Co-authored-by: Jennifer Power --- .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 +