Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
5977e347
Commit
5977e347
authored
Apr 03, 2013
by
Alexei Sholik
Committed by
Robert Griesemer
Apr 03, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: fix typos and trailing spaces
R=golang-dev, adg CC=golang-dev
https://golang.org/cl/8285044
parent
02fa4a7e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
code.html
doc/code.html
+4
-4
No files found.
doc/code.html
View file @
5977e347
...
...
@@ -219,7 +219,7 @@ $ <b>go install</b>
This command builds the
<code>
hello
</code>
command, producing an executable
binary. It then installs that binary to the workspace's
<code>
bin
</code>
directory as
<code>
hello
</code>
(or, under Windows,
<code>
hello.exe
</code>
).
In our example, tha will be
<code>
$GOPATH/bin/hello
</code>
, which is
In our example, tha
t
will be
<code>
$GOPATH/bin/hello
</code>
, which is
<code>
$HOME/go/bin/hello
</code>
.
</p>
...
...
@@ -276,7 +276,7 @@ Let's write a library and use it from the <code>hello</code> program.
</p>
<p>
Again, the first step is to choose a package path (we'll use
Again, the first step is to choose a package path (we'll use
<code>
github.com/user/newmath
</code>
) and create the package directory:
</p>
...
...
@@ -398,7 +398,7 @@ and will reflect the operating system and architecture of your system.
</p>
<p>
Go command exec
tu
ables are statically linked; the package objects need not
Go command exec
ut
ables are statically linked; the package objects need not
be present to run Go programs.
</p>
...
...
@@ -535,7 +535,7 @@ tree should now now look like this:
bin/
hello # command executable
pkg/
linux_amd64/
linux_amd64/
code.google.com/p/go.example/
newmath.a # package object
github.com/user/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment