Powerful Command-Line Applications in Go

Powerful Command-Line Applications in Go

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.

Download Now
Author
Publisher Pragmatic Bookshelf
Release Date
ISBN 9781680506969
Pages 250 pages
Rating 4/5 (6X users)

More Books:

Powerful Command-Line Applications in Go
Language: en
Pages: 250
Authors: Ricardo Gerardi
Categories:
Type: BOOK - Published: 2020-02-04 - Publisher: Pragmatic Bookshelf

GET 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
Powerful Command-Line Applications in Go
Language: en
Pages: 682
Authors: Ricardo Gerardi
Categories: Computers
Type: BOOK - Published: 2021-12-08 - Publisher: Pragmatic Bookshelf

GET 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
Modern Front-End Development for Rails
Language: en
Pages: 532
Authors: Noel Rappin
Categories: Computers
Type: BOOK - Published: 2022-09-09 - Publisher: Pragmatic Bookshelf

GET EBOOK

Improve the user experience for your Rails app with rich, engaging client-side interactions. Learn to use the Rails 7 tools and simplify the complex JavaScript
Build a Weather Station with Elixir and Nerves
Language: en
Pages: 122
Authors: Alexander Koutmos
Categories: Computers
Type: BOOK - Published: 2022-01-06 - Publisher: Pragmatic Bookshelf

GET EBOOK

The Elixir programming language has become a go-to tool for creating reliable, fault-tolerant, and robust server-side applications. Thanks to Nerves, those same
Program Management for Open Source Projects
Language: en
Pages: 247
Authors: Ben Cotton
Categories: Computers
Type: BOOK - Published: 2022-07-20 - Publisher: Pragmatic Bookshelf

GET EBOOK

Every organization develops a bureaucracy, and open source projects are no exception. When your structure is intentional and serves the project, it can lead to
Go: Building Web Applications
Language: en
Pages: 665
Authors: Nathan Kozyra
Categories: Computers
Type: BOOK - Published: 2016-08-31 - Publisher: Packt Publishing Ltd

GET EBOOK

Build real-world, production-ready solutions by harnessing the powerful features of Go About This Book An easy-to-follow guide that provides everything a develo
Mastering Go
Language: en
Pages: 682
Authors: Mihalis Tsoukalos
Categories: Computers
Type: BOOK - Published: 2021-08-31 - Publisher: Packt Publishing Ltd

GET EBOOK

Master key features of Go, including advanced concepts like concurrency and working with JSON, to create and optimize real-world services, network servers, and
Ubuntu 8.10 Linux Bible
Language: en
Pages: 1584
Authors: William von Hagen
Categories: Computers
Type: BOOK - Published: 2009-06-03 - Publisher: John Wiley & Sons

GET EBOOK

Bring yourself up to date on everything you need to know about Ubuntu Linux The Ubuntu Linux Bible covers all of the latest developments in version 8.10 and 8.0
EMBOSS Administrator's Guide
Language: en
Pages:
Authors: Alan J. Bleasby
Categories: Science
Type: BOOK - Published: 2011-06-16 - Publisher: Cambridge University Press

GET EBOOK

The European Molecular Biology Open Software Suite (EMBOSS) is a high quality package of open source software tools for molecular biology. It includes over 200
9 Practical Node.js Projects
Language: en
Pages: 237
Authors: James Hibbard
Categories: Computers
Type: BOOK - Published: 2018-11-30 - Publisher: SitePoint

GET EBOOK

While there have been quite a few attempts to get JavaScript working as a server-side language, Node.js (frequently just called Node) has been the first environ