mirror of
https://github.com/golang/go
synced 2024-11-23 04:40:09 -07:00
doc: make path platform dependent
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>
This commit is contained in:
parent
68eb3ccdec
commit
88da9ccb98
@ -204,7 +204,7 @@ you will need to <a href="https://golang.org/wiki/SettingGOPATH">set the <code>G
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<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:
|
and in that directory create a file named <code>hello.go</code> that looks like:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user