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
f83a47cb
Commit
f83a47cb
authored
Jul 08, 2012
by
Matthew William Jibson
Committed by
David Symonds
Jul 08, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: various "the the" and other typos
R=golang-dev, adg CC=golang-dev
https://golang.org/cl/6355076
parent
3be9f0b3
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
9 additions
and
9 deletions
+9
-9
doc/articles/json_and_go.html
doc/articles/json_and_go.html
+2
-2
doc/go_spec.html
doc/go_spec.html
+1
-1
src/pkg/go/doc/testdata/error2.1.golden
src/pkg/go/doc/testdata/error2.1.golden
+1
-1
src/pkg/go/doc/testdata/error2.go
src/pkg/go/doc/testdata/error2.go
+1
-1
src/pkg/math/remainder.go
src/pkg/math/remainder.go
+1
-1
src/pkg/net/http/fs.go
src/pkg/net/http/fs.go
+1
-1
src/pkg/text/tabwriter/tabwriter.go
src/pkg/text/tabwriter/tabwriter.go
+1
-1
src/pkg/text/template/funcs.go
src/pkg/text/template/funcs.go
+1
-1
No files found.
doc/articles/json_and_go.html
View file @
f83a47cb
...
...
@@ -82,8 +82,8 @@ is <code>nil</code>).
<p>
The json package only accesses the exported fields of struct types (those that
begin with an uppercase letter). Therefore only the
the exported fields of a
struct
will be present in the JSON output.
begin with an uppercase letter). Therefore only the
exported fields of a struct
will be present in the JSON output.
</p>
<p>
...
...
doc/go_spec.html
View file @
f83a47cb
...
...
@@ -2206,7 +2206,7 @@ Within a composite literal of array, slice, or map type <code>T</code>,
elements that are themselves composite literals may elide the respective
literal type if it is identical to the element type of
<code>
T
</code>
.
Similarly, elements that are addresses of composite literals may elide
the
<code>
&
T
</code>
when the
the
element type is
<code>
*T
</code>
.
the
<code>
&
T
</code>
when the element type is
<code>
*T
</code>
.
</p>
...
...
src/pkg/go/doc/testdata/error2.1.golden
View file @
f83a47cb
...
...
@@ -10,7 +10,7 @@ FILENAMES
TYPES
//
type I0 interface {
// When embedded, the
the locally
declared error interface
// When embedded, the
locally-
declared error interface
// is only visible if all declarations are shown.
error
}
...
...
src/pkg/go/doc/testdata/error2.go
View file @
f83a47cb
...
...
@@ -5,7 +5,7 @@
package
error2
type
I0
interface
{
// When embedded, the
the locally
declared error interface
// When embedded, the
locally-
declared error interface
// is only visible if all declarations are shown.
error
}
...
...
src/pkg/math/remainder.go
View file @
f83a47cb
...
...
@@ -4,7 +4,7 @@
package
math
// The original C code and the
the
comment below are from
// The original C code and the comment below are from
// FreeBSD's /usr/src/lib/msun/src/e_remainder.c and came
// with this notice. The go code is a simplified version of
// the original C.
...
...
src/pkg/net/http/fs.go
View file @
f83a47cb
...
...
@@ -154,7 +154,7 @@ func serveContent(w ResponseWriter, r *Request, name string, modtime time.Time,
}
if
sumRangesSize
(
ranges
)
>=
size
{
// The total number of bytes in all the ranges
// is larger th
e
the size of the file by
// is larger th
an
the size of the file by
// itself, so this is probably an attack, or a
// dumb client. Ignore the range request.
ranges
=
nil
...
...
src/pkg/text/tabwriter/tabwriter.go
View file @
f83a47cb
...
...
@@ -547,7 +547,7 @@ func (b *Writer) Write(buf []byte) (n int, err error) {
}
// NewWriter allocates and initializes a new tabwriter.Writer.
// The parameters are the same as for the
the
Init function.
// The parameters are the same as for the Init function.
//
func
NewWriter
(
output
io
.
Writer
,
minwidth
,
tabwidth
,
padding
int
,
padchar
byte
,
flags
uint
)
*
Writer
{
return
new
(
Writer
)
.
Init
(
output
,
minwidth
,
tabwidth
,
padding
,
padchar
,
flags
)
...
...
src/pkg/text/template/funcs.go
View file @
f83a47cb
...
...
@@ -154,7 +154,7 @@ func length(item interface{}) (int, error) {
// Function invocation
// call returns the result of evaluating the
the
first argument as a function.
// call returns the result of evaluating the first argument as a function.
// The function must return 1 result, or 2 results, the second of which is an error.
func
call
(
fn
interface
{},
args
...
interface
{})
(
interface
{},
error
)
{
v
:=
reflect
.
ValueOf
(
fn
)
...
...
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