mirror of
https://github.com/golang/go
synced 2024-11-24 15:10:02 -07:00
tutorial: update go_tutorial.txt
should have been included in last CL; no idea why it was not R=brainman CC=golang-dev https://golang.org/cl/4005043
This commit is contained in:
parent
acd858eee0
commit
eaade07d63
@ -482,7 +482,7 @@ something from the directory of installed packages.
|
|||||||
(Also, ''"file.go"'' must be compiled before we can import the
|
(Also, ''"file.go"'' must be compiled before we can import the
|
||||||
package.)
|
package.)
|
||||||
|
|
||||||
Now we can compile and run the program:
|
Now we can compile and run the program. On Unix, this would be the result:
|
||||||
|
|
||||||
$ 6g file.go # compile file package
|
$ 6g file.go # compile file package
|
||||||
$ 6g helloworld3.go # compile main package
|
$ 6g helloworld3.go # compile main package
|
||||||
|
Loading…
Reference in New Issue
Block a user