Skip to content

Commit 4f6b9ed

Browse files
ncantelmoianlancetaylor
authored andcommitted
doc: document the lack of support for symlinks under GOPATH
In an effort to help others avoid the issues I've hit due to lack of symlink support under GOPATH, I've added a note of warning to the Workspaces section. I have not changed the contents of go help gopath, because on reflection it seems this change alone may be sufficient. Fixes #21320 Change-Id: Ib8969bf12cecad878e89ff66b5864bbf3caaf219 Reviewed-on: https://go-review.googlesource.com/61930 Reviewed-by: Ian Lance Taylor <iant@golang.org>
1 parent b768d82 commit 4f6b9ed

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/code.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,10 @@ <h3 id="Workspaces">Workspaces</h3>
110110
and dependencies in a single workspace.
111111
</p>
112112

113+
<p>
114+
Note that symbolic links should <b>not</b> be used to link files or directories into your workspace.
115+
</p>
116+
113117
<p>
114118
Commands and libraries are built from different kinds of source packages.
115119
We will discuss the distinction <a href="#PackageNames">later</a>.

0 commit comments

Comments
 (0)