]> Cypherpunks repositories - gostls13.git/commitdiff
doc: make path platform dependent
authorCarrie Bynon <cbynon@gmail.com>
Fri, 15 Feb 2019 11:16:54 +0000 (22:16 +1100)
committerAndrew Bonventre <andybons@golang.org>
Mon, 4 Mar 2019 17:36:16 +0000 (17:36 +0000)
Path should now appear with the correct slash, depending on which
platform install document is being viewed - keeping in line with the
rest of the document.

Fixes #30160

Change-Id: Ib10e5a4adf366c700bff6f8d246bd5e3111ed61c
Reviewed-on: https://go-review.googlesource.com/c/go/+/162918
Reviewed-by: Andrew Bonventre <andybons@golang.org>
doc/install.html

index a41c60ba6c8b205f1e763f9a9f3bebf7951933ba..dda39fcaa7fe89de5cf87c2ef71cb2e952564cf3 100644 (file)
@@ -204,7 +204,7 @@ you will need to <a href="https://golang.org/wiki/SettingGOPATH">set the <code>G
 </p>
 
 <p>
-Next, make the directory <code>src/hello</code> inside your workspace,
+Next, make the directory <code class="testUnix">src/hello</code><code class="testWindows">src\hello</code> inside your workspace,
 and in that directory create a file named <code>hello.go</code> that looks like:
 </p>