Go Fundamentals

by Gopher Guides

This book is the guide for programmers to become gophers. Leaning on Mark and Cory's years of experience in the field and in the Go community it takes a very grassroots approach to learning. It also leverages their practical experience writing Go libraries and applications to present to the reader pragmatic solutions and simple explanations." - Steve Francia (@spf13)

Read Steve's full foreword here.

Go Fundamentals Cover

Based on author Mark Bates's and Cory LaNou's pioneering Gopher Guides training curricula, this book will allow you to quickly understand and use Go syntax, core features, and idioms. Reflecting Go through version 1.18--which includes Go's exciting new support for generics--this book prepares you to write robust, reliable, well-performing production code right from the outset.

Thousands of developers and teams want to start taking advantage of Go, the powerful language used in projects ranging from Kubernetes to Docker and Vault. Go Fundamentals is specifically designed to get you up-to-speed fast, to leverage your existing knowledge of other languages, and to help you avoid common mistakes made by Go newcomers.


What You'll Learn
  • Learn how Go manages packages, modules, and dependencies
  • Apply Go basics, such as variable declaration, types, and control flow
  • Work effectively with collection types, iteration, functions, structs, and pointers
  • Understand Go Slices and use them properly
  • Write idiomatic Go, using principles such as embedding and composition
  • Expertly use concurrency to improve code performance
  • Create proper tests to quickly identify and fix problems Write simpler, better code with generics and interfaces
  • Take advantage of channels, context, sync primitives, and other advanced features
  • Click here to see the Table of Contents.
  • Subscribe to our newsletter