]> Cypherpunks repositories - gostls13.git/commitdiff
doc: document the lack of support for symlinks under GOPATH
authorNathan Cantelmo <n.cantelmo@gmail.com>
Wed, 6 Sep 2017 15:19:25 +0000 (11:19 -0400)
committerIan Lance Taylor <iant@golang.org>
Tue, 12 Jun 2018 23:52:02 +0000 (23:52 +0000)
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>
doc/code.html

index f22e6b4919ec1849ded2c367a14347a49b6bc81f..92616a5a5aadca0017b76be5dc14f37e4e0e4a47 100644 (file)
@@ -110,6 +110,10 @@ packages and commands. Most Go programmers keep <i>all</i> their Go source code
 and dependencies in a single workspace.
 </p>
 
+<p>
+Note that symbolic links should <b>not</b> be used to link files or directories into your workspace.
+</p>
+
 <p>
 Commands and libraries are built from different kinds of source packages.
 We will discuss the distinction <a href="#PackageNames">later</a>.