The Power of Go: Tools

The Power of Go: Tools

$29.95

Take your next step in Go, with my guide to building powerful, robust tools and packages that solve user problems.

Add To Cart

Who is this book for?

Go developers who want to build elegant, useful software that solves real-world problems.

Whether you’re writing command-line tools, automation scripts, system utilities, or network services, this book will help you design software that’s simple, modular, testable, and easy to maintain.

What problem does it solve?

How do you write good software in Go? And what makes good software, anyway?

We all know what bad software is: it’s awkward, poorly-documented, hard to use, badly-structured, and difficult to understand or maintain. It’s not enough to say “Just don’t do that.” We need practical guidance on what good software looks like, and how to build it.

This book is about software design through the medium of Go. Starting with small but useful command-line tools, you’ll learn how to tackle increasingly complex and demanding projects with a clean, efficient, test-driven design workflow.

What will I learn?

The book covers everything you need to know to write practical tools in Go. Along the way, you’ll learn not just how to write Go programs, but how to think about software design itself.

  • Packages: design modular, reusable components with friendly and flexible APIs.
  • CLIs: interact with users, handle input, flags, arguments, and errors.
  • Files: read and write data using file handles, filesystems, permissions, JSON and YAML.
  • Systems: wrangle commands, processes, I/O streams, pipelines, and interactive shells.
  • Networking: understand HTTP, API clients, schemas, and data exchange.

What do I get?

  • PDF and ePub included
  • Works on computers, tablets, phones, and ebook readers
  • Free lifetime updates for new Go versions

Elliot Thomas, Senior Software Engineer, Assertis

“Exactly the book I was looking for next! I love it.”

I was wondering where to go next with Go, then this appeared. John’s helped me become far better at Go than I expected to in only a year, and I am now waiting to hear back on a job application for a Go role that would change my life! Thanks for all the great work.

Patrick Picard, Principal Consultant, Sourced Group

“John’s books are phenomenal.”

The book goes beyond CLI tools to cover creation of a library, standardizing objects with structs, and opinionated constructors, then covers accepting inputs from the end user through options (and how to test it!), expanding to the use of flags and arguments, how to interact with files and filesystem abstractions, etc. I have been able to use a few of the concepts into my own projects—had I not read the content in this book, I would not have understood how this is done!

What is interesting in the approach is the constant use of tests and how to develop the software to be testable. John provides challenges along to way to test your skills.

Rajaseelan Ganeswaran, GCP Cloud Engineer, Positivity

“Takes the newbie to the next level.”

What I really love about this book is the real-world, relatable examples. The narrative flow clicks with me.

Contents

Sample chapter

The Deeper Love of Go

The Deeper Love of Go

$29.95
Know Go

Know Go

$29.95
The Power of Go: Tests

The Power of Go: Tests

$29.95
Explore Go: Cryptography

Explore Go: Cryptography

$29.95
The Complete Go Library
sale

The Complete Go Library

Sale Price:$119.80 Original Price:$149.75