mirror of
https://github.com/golang/go
synced 2024-11-21 09:04:45 -07:00
doc: fix tutorial and Makefile PATH without dot
Fixes #2351. R=r, bradfitz CC=golang-dev https://golang.org/cl/5235056
This commit is contained in:
parent
d3eefb8cf3
commit
cab53c899c
@ -9,10 +9,9 @@ GOFILES=\
|
||||
tmpltohtml.go\
|
||||
|
||||
go_tutorial.html: go_tutorial.tmpl tmpltohtml
|
||||
makehtml go_tutorial.tmpl
|
||||
./makehtml go_tutorial.tmpl
|
||||
|
||||
effective_go.html: effective_go.tmpl tmpltohtml
|
||||
makehtml effective_go.tmpl
|
||||
|
||||
./makehtml effective_go.tmpl
|
||||
|
||||
include ../src/Make.cmd
|
||||
|
@ -104,7 +104,7 @@ With <code>gccgo</code> it looks a little more traditional.
|
||||
<p>
|
||||
<pre>
|
||||
$ gccgo helloworld.go
|
||||
$ a.out
|
||||
$ ./a.out
|
||||
Hello, world; or Καλημέρα κόσμε; or こんにちは 世界
|
||||
$
|
||||
</pre>
|
||||
@ -706,7 +706,7 @@ Now we can compile and run the program. On Unix, this would be the result:
|
||||
$ 6g file.go # compile file package
|
||||
$ 6g helloworld3.go # compile main package
|
||||
$ 6l -o helloworld3 helloworld3.6 # link - no need to mention "file"
|
||||
$ helloworld3
|
||||
$ ./helloworld3
|
||||
hello, world
|
||||
can't open file; err=No such file or directory
|
||||
$
|
||||
|
@ -96,7 +96,7 @@ With <code>gccgo</code> it looks a little more traditional.
|
||||
<p>
|
||||
<pre>
|
||||
$ gccgo helloworld.go
|
||||
$ a.out
|
||||
$ ./a.out
|
||||
Hello, world; or Καλημέρα κόσμε; or こんにちは 世界
|
||||
$
|
||||
</pre>
|
||||
@ -547,7 +547,7 @@ Now we can compile and run the program. On Unix, this would be the result:
|
||||
$ 6g file.go # compile file package
|
||||
$ 6g helloworld3.go # compile main package
|
||||
$ 6l -o helloworld3 helloworld3.6 # link - no need to mention "file"
|
||||
$ helloworld3
|
||||
$ ./helloworld3
|
||||
hello, world
|
||||
can't open file; err=No such file or directory
|
||||
$
|
||||
|
Loading…
Reference in New Issue
Block a user