Skip to content

Commit b01f388

Browse files
committed
Remove and ignore go workspace files
There's no watertight advice on whether to check go workspace files in (go.work and go.work.sum), but generally they are regarded as local. See golang/go#53502 as the most central discussion on this). Here, they tend to get in the way, because `go.work.sum` is not updated by `go mod tidy` and isn't subject to (the default) `-mod readonly`. In the absence of a clear benefit to checking them in, I'm removing them. Signed-off-by: Michael Bridgen <[email protected]>
1 parent 0d01a61 commit b01f388

File tree

3 files changed

+2
-1062
lines changed

3 files changed

+2
-1062
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ testbin/*
2323
*.swp
2424
*.swo
2525
*~
26+
go.work
27+
go.work.sum
2628

2729
# credentials used for accessing GitHub during container build
2830
.netrc

go.work

-6
This file was deleted.

0 commit comments

Comments
 (0)