Powerful Command-Line Applications in Go
Gain insights into Go’s syntax and advanced concepts. Learn about building efficient CLI tools, automating tasks, data processing, and ensure robustness with testing and benchmarking techniques.
Andy Hunt and Dave Thomas founded The Pragmatic Programmers, LLC., with a simple goal: to improve the lives of professional developers. We create timely, practical books and other learning resources on classic and cutting-edge topics to help you learn and practice your craft and accelerate your career. We are not a giant, faceless, greed-soaked corporation. We’re a small group of experienced professionals committed to helping make corporate software development—and your life—easier.
Join 3.1 million developers at
What You'll Learn
- An understanding of the fundamentals of the Go programming language, including its syntax and data types
- A working knowledge of building command-line applications using Go
- An understanding of command-line arguments, input and output, error handling, and testing
- Familiarity with designing and implementing real-world applications using Go
Learning Roadmap
1.
Introduction
Introduction
2.
First Command-Line Program in Go
First Command-Line Program in Go
3.
Interacting with Users
Interacting with Users
14 Lessons
14 Lessons
4.
Working with Files in Go
Working with Files in Go
12 Lessons
12 Lessons
5.
Navigating the File System
Navigating the File System
11 Lessons
11 Lessons
6.
Improving the Performance of CLI Tools
Improving the Performance of CLI Tools
14 Lessons
14 Lessons
7.
Controlling Processes
Controlling Processes
14 Lessons
14 Lessons
8.
Using the Cobra CLI Framework
Using the Cobra CLI Framework
16 Lessons
16 Lessons
9.
Talking to REST API
Talking to REST API
16 Lessons
16 Lessons
10.
Developing Interactive Terminal Tools
Developing Interactive Terminal Tools
12 Lessons
12 Lessons
11.
Persisting Data in a SQL Database
Persisting Data in a SQL Database
9 Lessons
9 Lessons
12.
Distributing Tool
Distributing Tool
8 Lessons
8 Lessons
13.
Appendix
Appendix
4 Lessons
4 Lessons
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.
Trusted by 3.1 million developers working at companies
Anthony Walker
@_webarchitect_
Evan Dunbar
ML Engineer
Software Developer
Carlos Matias La Borde
Souvik Kundu
Front-end Developer
Vinay Krishnaiah
Software Developer
Built for 10x Developers












Free Resources