Powerful Command-Line Applications in Go

Powerful Command-Line Applications in Go
Author :
Publisher : Pragmatic Bookshelf
Total Pages : 682
Release :
ISBN-10 : 9781680509328
ISBN-13 : 1680509322
Rating : 4/5 (322 Downloads)

Book Synopsis Powerful Command-Line Applications in Go by : Ricardo Gerardi

Download or read book Powerful Command-Line Applications in Go written by Ricardo Gerardi and published by Pragmatic Bookshelf. This book was released on 2021-12-08 with total page 682 pages. Available in PDF, EPUB and Kindle. Book excerpt: 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.


Powerful Command-Line Applications in Go Related Books

Powerful Command-Line Applications in Go
Language: en
Pages: 682
Authors: Ricardo Gerardi
Categories: Computers
Type: BOOK - Published: 2021-12-08 - Publisher: Pragmatic Bookshelf

DOWNLOAD EBOOK

Whether you want to automate tasks, analyze data, parse logs, talk to network services, or address other systems requirements, writing your own command-line too
Small, Sharp Software Tools
Language: en
Pages: 432
Authors: Brian P. Hogan
Categories: Computers
Type: BOOK - Published: 2019-06-03 - Publisher: Pragmatic Bookshelf

DOWNLOAD EBOOK

The command-line interface is making a comeback. That's because developers know that all the best features of your operating system are hidden behind a user int
Go Programming Language For Dummies
Language: en
Pages: 52
Authors: Wei-Meng Lee
Categories: Computers
Type: BOOK - Published: 2021-04-27 - Publisher: John Wiley & Sons

DOWNLOAD EBOOK

Ready, set, program with Go! Now is the perfect time to learn the Go Programming Language. It’s one of the most in-demand languages among tech recruiters and
Distributed Services with Go
Language: en
Pages: 225
Authors: Travis Jeffery
Categories:
Type: BOOK - Published: 2020-10-27 - Publisher: Pragmatic Bookshelf

DOWNLOAD EBOOK

You know the basics of Go and are eager to put your knowledge to work. This book is just what you need to apply Go to real-world situations. You'll build a dist
Go Web Programming
Language: en
Pages: 451
Authors: Sau Sheong Chang
Categories: Computers
Type: BOOK - Published: 2016-07-05 - Publisher: Simon and Schuster

DOWNLOAD EBOOK

Summary Go Web Programming teaches you how to build scalable, high-performance web applications in Go using modern design principles. Purchase of the print book