Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/ref/mod: fix the GOWORK env variable html layout #164

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions _content/ref/mod.md
Original file line number Diff line number Diff line change
Expand Up @@ -4323,18 +4323,18 @@ GOSUMDB="sum.golang.org+<publickey> https://sum.golang.org"
</p>
</td>
</tr>
<tr>
<tr>
<td><code>GOWORK</code></td>
<td>
<p>
The `GOWORK` environment variable instructs the `go` command to enter workspace
mode using the provided [`go.work` file](#go-work-file) to define the workspace.
If `GOWORK` is set to `off` workspace mode is disabled. This can be used to run
the `go` command in single module mode: for example, `GOWORK=off go build .` builds
the `.` package in single-module mode.`If `GOWORK` is empty, the
`go` command will search for a `go.work` file as described in the [Workspaces](#workspaces)
section.
</p>
<p>
The <code>GOWORK</code> environment variable instructs the <code>go</code> command to enter workspace
mode using the provided <a href="#go-work-file"><code>go.work</code> file</a> to define the workspace.
If <code>GOWORK</code> is set to <code>off</code> workspace mode is disabled. This can be used to run
the <code>go</code> command in single module mode: for example, <code>GOWORK=off go build .</code> builds
the <code>.</code> package in single-module mode. If <code>GOWORK</code> is empty, the <code>go</code>
command will search for a <code>go.work</code> file as described in the <a href="#workspaces">Workspaces</a>
section.
</p>
</td>
</tr>
</tbody>
Expand Down