Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
cf694aac
Commit
cf694aac
authored
Oct 09, 2013
by
Andrew Gerrand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: fix a few broken links
R=golang-dev, r CC=golang-dev
https://golang.org/cl/14494044
parent
bab2a541
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
doc/code.html
doc/code.html
+1
-1
doc/go1.1.html
doc/go1.1.html
+2
-2
doc/go1.2.html
doc/go1.2.html
+7
-7
No files found.
doc/code.html
View file @
cf694aac
...
...
@@ -576,7 +576,7 @@ provide lists of external Go projects.
<p>
For more information on using remote repositories with the
<code>
go
</code>
tool, see
<code><a
href=
"/cmd/go/#hdr-Remote_import_path
_syntax"
>
go help remote
</a></code>
.
<code><a
href=
"/cmd/go/#hdr-Remote_import_path
s"
>
go help importpath
</a></code>
.
</p>
...
...
doc/go1.1.html
View file @
cf694aac
...
...
@@ -129,7 +129,7 @@ only an infinite "for" loop.
<p>
In Go 1.1, the rule about final "return" statements is more permissive.
It introduces the concept of a
<a
href=
"/ref/spec
/
#Terminating_statements"
><em>
terminating statement
</em></a>
,
<a
href=
"/ref/spec#Terminating_statements"
><em>
terminating statement
</em></a>
,
a statement that is guaranteed to be the last one a function executes.
Examples include
"for" loops with no condition and "if-else"
...
...
@@ -191,7 +191,7 @@ more than 2 billion elements on 64-bit platforms.
<em>
Updating
</em>
:
Most programs will be unaffected by this change.
Because Go does not allow implicit conversions between distinct
<a
href=
"/ref/spec
/
#Numeric_types"
>
numeric types
</a>
,
<a
href=
"/ref/spec#Numeric_types"
>
numeric types
</a>
,
no programs will stop compiling due to this change.
However, programs that contain implicit assumptions
that
<code>
int
</code>
is only 32 bits may change behavior.
...
...
doc/go1.2.html
View file @
cf694aac
...
...
@@ -580,8 +580,8 @@ The <a href="/pkg/bufio/"><code>bufio</code></a> package
adds
<a
href=
"/pkg/bufio/#Reader.Reset"
><code>
Reset
</code></a>
methods to
<a
href=
"/pkg/bufio/#Reader"
><code>
Reader
</code></a>
and
<a
href=
"/pkg/bufio/#Writer"
><code>
Writer
</code></a>
.
These methods allow the
<a
href=
"/pkg/
Reader/
"
><code>
Readers
</code></a>
and
<a
href=
"/pkg/
Writer/
"
><code>
Writers
</code></a>
These methods allow the
<a
href=
"/pkg/
io/#Reader
"
><code>
Readers
</code></a>
and
<a
href=
"/pkg/
io/#Writer
"
><code>
Writers
</code></a>
to be re-used on new input and output readers and writers, saving
allocation overhead.
</li>
...
...
@@ -593,7 +593,7 @@ can now decompress concatenated archives.
<li>
The
<a
href=
"/pkg/compress/flate/"
><code>
compress/flate
</code></a>
package adds a
<a
href=
"/pkg/compress/flate/#Reset"
><code>
Reset
</code></a>
package adds a
<a
href=
"/pkg/compress/flate/#
Writer.
Reset"
><code>
Reset
</code></a>
method on the
<a
href=
"/pkg/compress/flate/#Writer"
><code>
Writer
</code></a>
,
to make it possible to reduce allocation when, for instance, constructing an
archive to hold multiple compressed files.
...
...
@@ -621,9 +621,9 @@ method to provide a more efficient way to update an item's position in the heap.
<li>
The
<a
href=
"/pkg/container/list/"
><code>
container/list
</code></a>
package
adds the
<a
href=
"/pkg/container/list/#MoveBefore"
><code>
MoveBefore
</code></a>
adds the
<a
href=
"/pkg/container/list/#
List.
MoveBefore"
><code>
MoveBefore
</code></a>
and
<a
href=
"/pkg/container/list/#MoveAfter"
><code>
MoveAfter
</code></a>
<a
href=
"/pkg/container/list/#
List.
MoveAfter"
><code>
MoveAfter
</code></a>
methods, which implement the obvious rearrangement.
</li>
...
...
@@ -745,7 +745,7 @@ The default is false, representing the usual two-index form.
<li>
The
<a
href=
"/pkg/go/build/"
><code>
go/build
</code></a>
package adds
the
<
a
href=
"/pkg/go/build/#Package.AllTags"
><code>
AllTags
</code></a
>
field
the
<
code>
AllTags
</code
>
field
to the
<a
href=
"/pkg/go/build/#Package"
><code>
Package
</code></a>
type,
to make it easier to process build tags.
</li>
...
...
@@ -910,7 +910,7 @@ in agreement with that of other printing functions such as "printf".
In the
<a
href=
"/pkg/time/"
><code>
time
</code></a>
package, the
<a
href=
"/pkg/time/#Parse"
><code>
Parse
</code></a>
function
and
<a
href=
"/pkg/time/#Format"
><code>
Format
</code></a>
<a
href=
"/pkg/time/#
Time.
Format"
><code>
Format
</code></a>
method
now handle time zone offsets with seconds, such as in the historical
date "1871-01-01T05:33:02+00:34:08".
...
...
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