List of Listings
Lesson 1. Get ready, get set, Go
Lesson 2. A glorified calculator
Listing 2.1. Hello Mars: mars.go
Listing 2.3. Traveling at the speed of light: lightspeed.go
Listing 2.4. Assignment operators: shortcut.go
Lesson 3. Loops and branches
Listing 3.1. A function that returns a Boolean value: contains.go
Listing 3.2. Comparing numbers: compare.go
Listing 3.4. Leap year determination: leap.go
Listing 3.5. The not operator: torch.go
Listing 3.6. The switch statement: concise-switch.go
Get Get Programming with Go now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.