Chapter 2

Program Structure

Names, declarations, variables, and packages

✓ Understand Go naming conventions ✓ Declare and initialize variables
1
Boiling
Boiling prints the boiling point of water.
p.29 +10 XP beginner
2
Cf
Cf converts its numeric argument to Celsius and Fahrenheit.
p.43 +10 XP beginner
3
Echo4
Echo4 prints its command-line arguments.
p.33 +10 XP beginner
4
Ftoc
Ftoc prints two Fahrenheit-to-Celsius conversions.
p.29 +10 XP beginner
5
Popcount
(Package doc comment intentionally malformed to demonstrate golint.)
p.45 +10 XP beginner
6
Tempconv
Example from The Go Programming Language
p.41 +10 XP beginner
7
Tempconv0
Package tempconv performs Celsius and Fahrenheit temperature computations.
p.39 +10 XP beginner