What’s in This Book
In Chapter 1, Your First Command-Line Program in Go, you’ll take a quick tour through the process of developing a command-line application with Go by building a word counter. You will start with the basic implementation, add some features, and explore testing. You’ll also add command-line flags and build this application for different platforms.
In Chapter 2, Interacting with Your Users, you’ll design and write a command-line tool to manage lists of to-do items in accordance with common input/output standards by applying different techniques. You’ll take input from the standard input (STDIN) stream, parse command-line parameters, and define flags for your tool using the flags package. You’ll use environment variables to ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access