aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--_content/blog/get-familiar-with-workspaces.md4
-rw-r--r--_content/ref/mod.md4
2 files changed, 4 insertions, 4 deletions
diff --git a/_content/blog/get-familiar-with-workspaces.md b/_content/blog/get-familiar-with-workspaces.md
index 8f8914ba..86d16ce4 100644
--- a/_content/blog/get-familiar-with-workspaces.md
+++ b/_content/blog/get-familiar-with-workspaces.md
@@ -21,7 +21,7 @@ changes.
[Workspaces](https://go.dev/ref/mod#workspaces) in Go 1.18 let you work on
multiple modules simultaneously without having to edit `go.mod` files for each
-module. Each module within a workspace is treated as a root module when
+module. Each module within a workspace is treated as a main module when
resolving dependencies.
Previously, to add a feature to one module and use it in another module, you
@@ -248,4 +248,4 @@ documentation](https://pkg.go.dev/golang.org/x/tools/gopls#readme-editors).
[workspace maintenance documentation](https://pkg.go.dev/cmd/go#hdr-Workspace_maintenance).
- Explore module commands for [working outside of a single
module](https://go.dev/ref/mod#commands-outside) including `go work init`,
- `go work sync` and more. \ No newline at end of file
+ `go work sync` and more.
diff --git a/_content/ref/mod.md b/_content/ref/mod.md
index 9c60bcbe..33b11f02 100644
--- a/_content/ref/mod.md
+++ b/_content/ref/mod.md
@@ -1075,7 +1075,7 @@ have been [replaced](#go-mod-file-replace) using local filesystem paths.)
## Workspaces {#workspaces}
A <dfn>workspace</dfn> is a collection of modules on disk that are used as
-the root modules when running [minimal version selection (MVS)](#minimal-version-selection).
+the main modules when running [minimal version selection (MVS)](#minimal-version-selection).
A workspace can be declared in a [`go.work` file](#go-work-file) that specifies
relative paths to the module directories of each of the modules in the workspace.
@@ -4562,5 +4562,5 @@ letter `v` followed by a semantic version. See the section on
<a id="glos-workspace"></a>
**workspace:** A collection of modules on disk that are used as
-the root modules when running [minimal version selection (MVS)](#minimal-version-selection).
+the main modules when running [minimal version selection (MVS)](#minimal-version-selection).
See the section on [Workspaces](#workspaces)