// Book //

How To Code in Go eBook

Published on June 11, 2020
Default avatar
By Gopher Guides
Developer and author at DigitalOcean.
How To Code in Go eBook

Introduction to the eBook

This book is designed to introduce you to writing programs with the Go programming language. You’ll learn how to write useful tools and applications that can run on remote servers, or local Windows, macOS, and Linux systems for development.

This book is based on the How To Code in Go tutorial series found on DigitalOcean Community. The topics that it covers include how to:

  1. Install and set up a local Go development environment on Windows, macOS, and Linux systems

  2. Design your programs with conditional logic, including switch statements to control program flow

  3. Define your own data structures and create interfaces to them for reusable code

  4. Write custom error handling functions

  5. Building and installing your Go programs so that they can run on different operating systems and different CPU architectures

  6. Using flags to pass arguments to your programs, to override default options

Each chapter can be read on its own or used as a reference, or you can follow the chapters from beginning to end. Feel free to jump to the chapter or chapters that best suits your purpose as you are learning Go with this book.

Download the eBook

You can download the eBook in either the EPUB or PDF format by following the links below.

After you’re finished this book, if you’d like to learn more about how to build tools and applications with Go, visit the DigitalOcean Community’s Go section.


Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in our Questions & Answers section, find tutorials and tools that will help you grow as a developer and scale your project or business, and subscribe to topics of interest.

Sign up

Tutorial Series: How To Code in Go

Go (or GoLang) is a modern programming language originally developed by Google that uses high-level syntax similar to scripting languages. It is popular for its minimal syntax and innovative handling of concurrency, as well as for the tools it provides for building native binaries on foreign platforms.

About the authors
Default avatar
Developer and author at DigitalOcean.

Default avatar
Developer and author at DigitalOcean.

Still looking for an answer?

Was this helpful?

Great information, thank you!