Wrapping Up

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

The Pragmatic Programmers
The Pragmatic Programmers

--

👈 Exercises | TOC | Chapter 3 Working with Files in Go 👉

In this chapter, you explored a few ways to get input from your users. You used command-line arguments, environment variables, and standard input. More importantly, you got more comfortable producing your own command-line tools by using common standards and practices.

In the next chapter, you’ll build on these concepts by handling files, thus enabling you to create even more powerful and useful tools.

Footnotes

[13] https://golang.org/ref/spec#Struct_types

[14] https://golang.org/ref/spec#Method_declarations

[15] https://golang.org/doc/go1.16#ioutil

[16] https://golang.org/pkg/flag/

[17] https://golang.org/ref/spec#Interface_types

[18] https://golang.org/pkg/io/#Reader

[19] https://golang.org/ref/spec#Function_types

Copyright © 2021, The Pragmatic Bookshelf.

👈 Exercises | TOC | Chapter 3 Working with Files in Go 👉

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.