Hyang-Ah Hana Kim has uploaded this change for review.
all: add go.work to .gitignore
We don't want to check in go.work files.
Change-Id: I7ba16c56ee9635630ab2aa38aa6e0a46bd340b73
---
M .gitignore
1 file changed, 13 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
index aa62a9f..3450d9e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -19,6 +19,8 @@
_test
_testmain.go
+go.work
+
/VERSION.cache
/bin/
/build.out
To view, visit change 396916. To unsubscribe, or for help writing mail filters, visit settings.
Attention is currently required from: Hyang-Ah Hana Kim.
1 comment:
Patchset:
Note the comment at the end of the file. Is a go.work file a specific development environment? Of course maybe it's common enough that we should add it anyhow.
To view, visit change 396916. To unsubscribe, or for help writing mail filters, visit settings.
Attention is currently required from: Ian Lance Taylor.
1 comment:
Patchset:
Note the comment at the end of the file. Is a go. […]
The Go project contains multiple modules, so the current recommendation when working with any editors that rely on `gopls` is currently to use go.work. Since `go` tools (build/list/...) already have a lot of special handling for the go project itself, another option is to make `gopls` just work even without `go.work` which I think is the best but not I am not sure what it involves to achieve that.
To view, visit change 396916. To unsubscribe, or for help writing mail filters, visit settings.
Hyang-Ah Hana Kim abandoned this change.
To view, visit change 396916. To unsubscribe, or for help writing mail filters, visit settings.