Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword or section
Like this
1Activity

Table Of Contents

Course Outline
Today’s Outline
Motivation
Why, briefly?
Go
In short
Resources
Status: Compilers
Basics
Time for some code
Language basics
Lexical structure
Literals
Syntax overview
Semicolons
Numeric types
Bool
String
Expressions
Go vs. C expressions
Examples
Numeric conversions
Constants
Constant Expressions
Consequences of ideal numbers
Declarations
Var
Distributing var
The := "short declaration"
Const
Iota
Assignment
Control structures
Forms of control structures
If
For
Switch details
Switch
Break, continue, etc
Functions
Functions with result variables
The empty return
What was that about zero?
Defer
One function invocation per defer
Tracing with defer
Args evaluate now, defer later
Function literals
Function literals are closures
Program construction
Packages
Source file structure
A single-file package
main and main.main()
Os
Global and package scope
Initialization
Initialization example
Package and program construction
Building the fmt package
Testing
An example test
Testing: gotest
Libraries
A little more about fmt
Library documentation
Exercise
Exercise: Day 1
Next lesson
0 of .
Results for:
No results containing your search query
P. 1
Go Course Day 1

Go Course Day 1

Ratings: (0)|Views: 23 |Likes:
Published by elrondelrond

More info:

Published by: elrondelrond on Jan 15, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

11/12/2011

pdf

text

original

You're Reading a Free Preview
Pages 4 to 33 are not shown in this preview.
You're Reading a Free Preview
Pages 37 to 74 are not shown in this preview.

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->