From b333d245bfd46fb55f7f2e42f1120999e5c71d6e Mon Sep 17 00:00:00 2001 From: Norton-Lin <358154247@qq.com> Date: Mon, 18 Nov 2024 16:37:55 +0800 Subject: [PATCH] fix: fix go mod --- .github/workflows/go_fmt_check.yml | 3 +-- src/go.mod => go.mod | 0 2 files changed, 1 insertion(+), 2 deletions(-) rename src/go.mod => go.mod (100%) diff --git a/.github/workflows/go_fmt_check.yml b/.github/workflows/go_fmt_check.yml index 755f6a1..c092682 100644 --- a/.github/workflows/go_fmt_check.yml +++ b/.github/workflows/go_fmt_check.yml @@ -23,6 +23,5 @@ jobs: - name: Check Go formatting run: | - cd ../../src - go fmt ./ + go fmt ./... git diff --exit-code || (echo "❌ Go files are not properly formatted. Run 'go fmt' locally to fix." && exit 1) diff --git a/src/go.mod b/go.mod similarity index 100% rename from src/go.mod rename to go.mod