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
7ae41e80
Commit
7ae41e80
authored
Feb 28, 2013
by
Rob Pike
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: correct some minor HTML errors found by tidy
R=golang-dev, bradfitz CC=golang-dev
https://golang.org/cl/7439046
parent
349cc748
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
doc/contribute.html
doc/contribute.html
+1
-1
doc/debugging_with_gdb.html
doc/debugging_with_gdb.html
+1
-1
doc/go1.1.html
doc/go1.1.html
+2
-2
doc/go_spec.html
doc/go_spec.html
+1
-1
No files found.
doc/contribute.html
View file @
7ae41e80
...
...
@@ -293,7 +293,7 @@ run <code>hg change 99999</code>.
<p>
Alternatively, you can use
<
p/
>
<
/p
>
<pre>
$ hg file 99999 somefile
...
...
doc/debugging_with_gdb.html
View file @
7ae41e80
...
...
@@ -179,7 +179,7 @@ $ <b>gdb regexp.test -d $GOROOT</b>
If for some reason GDB still can't find that directory or that script, you can load
it by hand by telling gdb (assuming you have the go sources in
<code>
~/go/
</code>
):
<p>
<
/
p>
<pre>
(gdb)
<b>
source ~/go/src/pkg/runtime/runtime-gdb.py
</b>
...
...
doc/go1.1.html
View file @
7ae41e80
...
...
@@ -131,7 +131,7 @@ to convert the code to Go 1.0 first.
<h2
id=
"library"
>
Changes to the standard library
</h2>
<h3
id=
"debug
/
elf"
>
debug/elf
</h3>
<h3
id=
"debug
_
elf"
>
debug/elf
</h3>
<p>
Previous versions of the debug/elf package intentionally skipped over the first
symbol in the ELF symbol table, since it is always an empty symbol. This symbol
...
...
@@ -141,7 +141,7 @@ calls the debug/elf functions Symbols or ImportedSymbols may need to be
adjusted to account for the additional symbol and the change in symbol offsets.
</p>
<h3
id=
"html
/
template"
>
html/template
</h3>
<h3
id=
"html
_
template"
>
html/template
</h3>
<p>
Templates using the undocumented and only partially implemented
...
...
doc/go_spec.html
View file @
7ae41e80
...
...
@@ -2637,7 +2637,7 @@ a[:] // same as a[0 : len(a)]
<p>
For arrays or strings, the indices
<code>
low
</code>
and
<code>
high
</code>
are
<i>
in range
</i>
if
<code>
0
<
=
<code>
low
</code>
<
=
<code>
high
</code>
<
=
len(a)
</code>
,
<i>
in range
</i>
if
<code>
0
</code>
<
=
<code>
low
</code>
<
=
<code>
high
</code>
<
=
<code>
len(a)
</code>
,
otherwise they are
<i>
out of range
</i>
.
For slices, the upper index bound is the slice capacity
<code>
cap(a)
</code>
rather than the length.
A
<a
href=
"#Constants"
>
constant
</a>
index must be non-negative and representable by a value of type
...
...
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