Skip to Main Content

Go by Example

Programmer's guide to idiomatic and testable code

Published by Manning
Distributed by Simon & Schuster

About The Book

Unlock Go’s unique perspective on program design, and start writing simple, maintainable, and testable Go code.

In Go by Example you will learn how to:

  • Write idiomatic and easy-to-maintain Go programs from scratch
  • Test Go according to best practices
  • Spot common Go anti-patterns
  • Create practical Go packages and applications
  • Design and organize Go code and programs
  • Understand what makes Go different from other languages

Go by Example is a practical guide to writing high-quality code that’s easy to test and maintain. The book is full of best practices to adopt and anti-patterns to dodge. It explores what makes Go so dramatically different from other languages and how you can still leverage your existing skills into writing excellent Go code. Aimed at Go beginners looking to graduate to serious Go development, this book will help you write and test command line applications, web API clients and servers, concurrent programs, and more.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the technology

Writing well-designed Go code takes more than just porting across skills you’ve learned in other languages. You’ll need to understand Go’s unique way of working to ensure your programs don’t spiral out of control. This book is the perfect primer on Go’s hidden mechanics that will help you code more effective Go.

About the book

Go by Example teaches you to write well-designed and maintainable code in Go. By concentrating on Go’s unique characteristics, you’ll learn how to stop fighting against the language and start delivering idiomatic code that’s simple, adaptable, and testable. You’ll learn how to deliver applications and how to extend code with robust testing. Easy-to-understand visualizations and step-by-step examples help explain Go’s complexities without oversimplification.

About the reader

For programmers who have learned the basics of Go.

About the author

Inanc Gumus has over 20 years of experience in software engineering. For the last four years, he has worked as a consultant for Go software architecture, focusing on best practices and testing. Inanc is also an open-source contributor to the official Go test package, and teaches Go through online courses, his blog, his Youtube channel, and GitHub repository with over 10,000 stars.

About The Author

Inanc Gumus has over 20 years of experience in software engineering. For the last four years, he has worked as a consultant for Go software architecture, focusing on best practices and testing. Inanc is also an open-source contributor to the official Go test package, and teaches Go through online courses, his blog, his Youtube channel, and GitHub repository with over 10,000 stars.

Product Details

  • Publisher: Manning (September 24, 2024)
  • Length: 300 pages
  • ISBN13: 9781617299896

Browse Related Books

Resources and Downloads

High Resolution Images