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
84033300
Commit
84033300
authored
Oct 01, 2009
by
Robert Griesemer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
replace "ideal" with "untyped"
R=r DELTA=1 (0 added, 0 deleted, 1 changed) OCL=35242 CL=35258
parent
a27f1f74
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
go_tutorial.txt
doc/go_tutorial.txt
+3
-3
No files found.
doc/go_tutorial.txt
View file @
84033300
...
...
@@ -281,7 +281,7 @@ An Interlude about Constants
Although integers come in lots of sizes in Go, integer constants do not.
There are no constants like "0ll" or "0x0UL". Instead, integer
constants are evaluated as
ideal,
large-precision values that
constants are evaluated as large-precision values that
can overflow only when they are assigned to an integer variable with
too little precision to represent the value.
...
...
@@ -416,7 +416,7 @@ Finally we can run the program:
% helloworld3
hello, world
can't open file; err=No such file or directory
%
%
Rotting cats
----
...
...
@@ -490,7 +490,7 @@ Here it is in action:
abcdefghijklmnopqrstuvwxyz
% echo abcdefghijklmnopqrstuvwxyz | ./cat --rot13
nopqrstuvwxyzabcdefghijklm
%
%
</pre>
Fans of dependency injection may take cheer from how easily interfaces
...
...
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