Wrapping Up

Powerful Command-Line Applications in Go — by Ricardo Gerardi (16 / 127)

The Pragmatic Programmers
The Pragmatic Programmers

--

👈 Exercises | TOC | Chapter 2 Interacting with Your Users 👉

In this chapter, you created your first command-line tool using Go. You tested it, built an executable file for two different operating systems, and executed it. This represents the basic workflow of writing command-line tools with Go.

Next, you’ll dive into the concepts required to write more complex command-line tools, starting with getting input from your users and displaying information back to them.

Footnotes

[10] https://github.com/golang/go/wiki/Modules

[11] https://golang.org/src/go/build/syslist.go

[12] https://golang.org/pkg/bufio

Copyright © 2021, The Pragmatic Bookshelf.

👈 Exercises | TOC | Chapter 2 Interacting with Your Users 👉

Powerful Command-Line Applications in Go by Ricardo Gerardi can be purchased in other book formats directly from the Pragmatic Programmers. If you notice a code error or formatting mistake, please let us know here so that we can fix it.

--

--

The Pragmatic Programmers
The Pragmatic Programmers

We create timely, practical books and learning resources on classic and cutting-edge topics to help you practice your craft and accelerate your career.