From 55199c752abfb6cebf304285ef6dcb2df7bd8f36 Mon Sep 17 00:00:00 2001 From: CI Date: Sat, 29 Nov 2025 01:45:54 +0000 Subject: [PATCH] chore: configure gopls env/buildFlags to avoid scanning toolchain modules --- .vscode/settings.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index b217f155..4bbb4566 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -8,6 +8,10 @@ ] , "gopls": { - "buildFlags": ["-tags=ignore"] + "buildFlags": ["-tags=ignore", "-mod=mod"], + "env": { + "GOWORK": "off", + "GOFLAGS": "-mod=mod" + } } }