Skip to product information
1 of 1

Ricardo Gerardi

Powerful Command-Line Applications in Go: Build Fast and Maintainable Tools

Powerful Command-Line Applications in Go: Build Fast and Maintainable Tools

Low Stock: Only 2 copies remaining
Regular price £25.52 GBP
Regular price £36.99 GBP Sale price £25.52 GBP
31% OFF Sold out
Tax included. Shipping calculated at checkout.

YOU SAVE £11.47

  • Condition: Brand new
  • UK Delivery times: Usually arrives within 2 - 3 working days
  • UK Shipping: Fee starts at £2.39. Subject to product weight & dimension
Trustpilot 4.5 stars rating  Excellent
We're rated excellent on Trustpilot.
  • More about Powerful Command-Line Applications in Go: Build Fast and Maintainable Tools


The Go programming language is a great choice for developing command-line tools that are fast, reliable, and cross-platform. It combines the reliability of compiled languages with the ease of use and flexibility of dynamic typed languages. Use Go's rich standard library, built-in support for concurrency, and expressive syntax to develop elegant and efficient tools. Use integrated testing capabilities to automatically test tools, ensuring they work reliably even across code refactoring. Develop CLI tools that interact with users by using common input/output patterns, handle files to read or persist data, manipulate paths consistently in cross-platform scenarios, control processes and handle signals, and use a benchmark-driven approach and Go's concurrency primitives to create tools that perform well. Use powerful external libraries such as Cobra to create modern and flexible tools that handle subcommands, and develop tools that interact with databases, APIs, and network services. Finally, leverage what you learned by tackling additional challenges at the end of each chapter.

Format: Paperback / softback
Length: 250 pages
Publication date: 17 December 2021
Publisher: The Pragmatic Programmers

Whether you want to automate tasks, analyze data, parse logs, talk to network services, or address other systems requirements, writing your own command-line tool may be the fastest - and perhaps the most fun - way to do it. The Go programming language is a great choice for developing tools that are fast, reliable, and cross-platform. Create command-line tools that work with files, connect to services, and even manage external processes, all while using tests and benchmarks to ensure your programs are fast and correct. When you want to develop cross platform command-line tools that are fast and reliable, use Go, a modern programming language that combines the reliability of compiled languages with the ease of use and flexibility of dynamic typed languages. Work through practical examples to develop elegant and efficient tools by applying Go's rich standard library, its built in support for concurrency, and its expressive syntax. Use Go's integrated testing capabilities to automatically test your tools, ensuring they work reliably even across code refactoring. Develop CLI tools that interact with your users by using common input/output patterns, including environment variables and flags. Handle files to read or persist data, and manipulate paths consistently in cross-platform scenarios. Control processes and handle signals, and use a benchmark driven approach and Go's concurrency primitives to create tools that perform well. Use powerful external libraries such as Cobra to create modern and flexible tools that handle subcommands, and develop tools that interact with databases, APIs, and network services. Finally, leverage what you learned by tackling additional challenges at the end of each chapter. What You Need: Go 1.8 or higher, an internet connection to download the example files and additional libraries, and a text editor to write your programs.

Weight: 950g
Dimension: 190 x 235 x 32 (mm)
ISBN-13: 9781680506969

UK and International shipping information

UK Delivery and returns information:

  • Delivery within 2 - 3 days when ordering in the UK.
  • Shipping fee for UK customers from £2.39. Fully tracked shipping service available.
  • Returns policy: Return within 30 days of receipt for full refund.

International deliveries:

Shulph Ink now ships to Australia, Belgium, Canada, France, Germany, Ireland, Italy, India, Luxembourg Saudi Arabia, Singapore, Spain, Netherlands, New Zealand, United Arab Emirates, United States of America.

  • Delivery times: within 5 - 10 days for international orders.
  • Shipping fee: charges vary for overseas orders. Only tracked services are available for most international orders. Some countries have untracked shipping options.
  • Customs charges: If ordering to addresses outside the United Kingdom, you may or may not incur additional customs and duties fees during local delivery.
View full details