diff options
| author | Michael Matloob <matloob@golang.org> | 2024-02-12 13:33:02 -0500 |
|---|---|---|
| committer | Michael Matloob <matloob@golang.org> | 2024-02-13 21:34:49 +0000 |
| commit | 129088f7cdc909a128401e6bb104c552f06de6aa (patch) | |
| tree | c7a316c203c003f3cfa3fd2c0874b971fe201106 | |
| parent | ab22183b1b215d4738a2f6fb0629d90b4ce91bc8 (diff) | |
| download | go-x-website-129088f7cdc909a128401e6bb104c552f06de6aa.tar.xz | |
_content/ref/mod: document go.work.sum files
There's no mention of go.work.sum files in ref/mod. Add some
mentioning when they can appear.
Fixes golang/go#51941
Change-Id: I377f6dcd0712ed8b9967469bc223543d784a6bd3
Reviewed-on: https://go-review.googlesource.com/c/website/+/563855
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
| -rw-r--r-- | _content/ref/mod.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/_content/ref/mod.md b/_content/ref/mod.md index 9119c241..642b44d2 100644 --- a/_content/ref/mod.md +++ b/_content/ref/mod.md @@ -1176,6 +1176,9 @@ edits. The [`golang.org/x/mod/modfile`](https://pkg.go.dev/golang.org/x/mod/modfile?tab=doc) package can be used by Go programs to make the same changes programmatically. +The go command will maintain a `go.work.sum` file that keeps track of hashes used by the workspace +that are not in collective workspace modules' go.sum files. + ### Lexical elements {#go-work-file-lexical} Lexical elements in `go.work` files are defined in exactly the same way [as for |
