From 66b587dcaa2c0560b7d137a0ddc6ce45f3a123dc Mon Sep 17 00:00:00 2001 From: yibaiba <946100224@qq.com> Date: Wed, 2 Sep 2026 20:30:35 +0800 Subject: [PATCH] chore: stop tracking the go workspace file go.mod already replaces the four third_party modules with their local paths, so GOWORK=off builds cmd/hideck just the same. The workspace file is local developer setup. Co-authored-by: Cursor --- .gitignore | 4 +++- go.work | 9 --------- 2 files changed, 3 insertions(+), 10 deletions(-) delete mode 100644 go.work diff --git a/.gitignore b/.gitignore index 49ea288c..871d9548 100644 --- a/.gitignore +++ b/.gitignore @@ -6,7 +6,9 @@ *.so *.dylib -# Go workspace 校验和(由 go 命令自动改写,与代码变更无关) +# Go workspace 属于本地开发配置;go.mod 的 replace 已指向 third_party, +# 因此 GOWORK=off 也能构建,不需要入库 +go.work go.work.sum # 数据和日志目录 diff --git a/go.work b/go.work deleted file mode 100644 index aed9a8b5..00000000 --- a/go.work +++ /dev/null @@ -1,9 +0,0 @@ -go 1.26.4 - -use ( - . - ./third_party/netlink - ./third_party/qqbot - ./third_party/quectel-qmi-go - ./third_party/vowifi-go -)