Get Programming with Go introduces you to the powerful Go language without confusing jargon or high-level theory. By working through 32 quick-fire lessons, you'll quickly pick up the basics of the innovative Go programming language!
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
About the Technology
Go is a small programming language designed by Google to tackle big problems. Large projects mean large teams with people of varying levels of experience. Go offers a small, yet capable, language that can be understood and used by anyone, no matter their experience.
About the Book
Hobbyists, newcomers, and professionals alike can benefit from a fast, modern language; all you need is the right resource! Get Programming with Go provides a hands-on introduction to Go language fundamentals, serving as a solid foundation for your future programming projects. You'll master Go syntax, work with types and functions, and explore bigger ideas like state and concurrency, with plenty of exercises to lock in what you learn.
- Language concepts like slices, interfaces, pointers, and concurrency
- Seven capstone projects featuring spacefaring gophers, Mars rovers, ciphers, and simulations
- All examples run in the Go Playground - no installation required!
About the Reader
This book is for anyone familiar with computer programming, as well as anyone with the desire to learn.
About the Author
Nathan Youngman organizes the Edmonton Go meetup and is a mentor with Canada Learning Code. Roger Peppé contributes to Go and runs the Newcastle upon Tyne Go meetup.
Table of Contents
Unit 0 - GETTING STARTED
Chapter 1. Get Ready, Get Set, Go
Unit 1 - IMPERATIVE PROGRAMMING
Chapter 1. A Glorified Calculator
Chapter 2. Loops And Branches
Chapter 3. Variable Scope
Chapter 4. Capstone: Ticket To Mars
Unit 2 - TYPES
Chapter 1. Real Numbers
Chapter 2. Whole Numbers
Chapter 3. Big Numbers
Chapter 4. Multilingual Text
Chapter 5. Converting Between Types
Chapter 6. Capstone: The Vigenère Cipher
Unit 3 - BUILDING BLOCKS
Chapter 1. Functions
Chapter 2. Methods
Chapter 3. First-Class Functions
Chapter 4. Capstone: Temperature Tables
Unit 4 - COLLECTIONS
Chapter 1. Arrayed In Splendor
Chapter 2. Slices: Windows Into Arrays
Chapter 3. A Bigger Slice
Chapter 4. The Ever-Versatile Map
Chapter 5. Capstone: A Slice Of Life
Unit 5 - STATE AND BEHAVIOR
Chapter 1. A Little Structure
Chapter 2. Go'S Got No Class
Chapter 3. Composition And Forwarding
Chapter 4. Interfaces
Chapter 5. Capstone: Martian Animal Sanctuary
Unit 6 - DOWN THE GOPHER HOLE
Chapter 1. A Few Pointers
Chapter 2. Much Ado About Nil
Chapter 3. To Err Is Human
Chapter 4. Capstone: Sudoku Rules
Unit 7 - CONCURRENT PROGRAMMING
Chapter 1. Goroutines And Concurrency
Chapter 2. Concurrent State
Chapter 3. Capstone: Life On Mars