Skip to content

Commit

Permalink
_content/ref/mod: document go.work.sum files
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Bryan Mills <[email protected]>
  • Loading branch information
matloob committed Feb 13, 2024
1 parent ab22183 commit 129088f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _content/ref/mod.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 129088f

Please sign in to comment.