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
5009237a
Commit
5009237a
authored
Mar 07, 2008
by
Robert Griesemer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- fixed a couple of grammar errors
SVN=111685
parent
25076717
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
go_lang.txt
doc/go_lang.txt
+4
-4
No files found.
doc/go_lang.txt
View file @
5009237a
...
...
@@ -532,9 +532,9 @@ Any array may be assigned to an open array variable with the
same element type. Typically, open arrays are used as
formal parameters for functions.
ArrayType =
{ '[' ArrayLength ']' } ElementType
.
ArrayLength = Expression.
ElementType = Type.
ArrayType =
'[' [ ArrayLength ] ']' ElementType
.
ArrayLength = Expression
.
ElementType = Type
.
[] uint8
[2*n] int
...
...
@@ -687,7 +687,7 @@ Functions can return multiple values simultaneously.
Parameters = '(' [ ParameterList ] ')' .
ParameterList = ParameterSection { ',' ParameterSection } .
ParameterSection = [ IdentifierList ] Type .
Result =
[ Type ]
| '(' ParameterList ')' .
Result =
Type
| '(' ParameterList ')' .
// Function types
func ()
...
...
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