Powerful Command-Line Applications in Go Build Fast and Maintainable Tools
Résumé
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.
Spécifications produit
Contenu
Langue
en
Version
Broché
Date de sortie initiale
21 décembre 2021
Nombre de pages
250
Illustrations
Non
Personnes impliquées
Auteur principal
Editeur principal
Informations sur le fabricant
Nom du fabricant
Libri GmbH
Adresse électronique du fabricant
gpsr@libri.de
Informations sur le fabricant
Les informations du fabricant ne sont actuellement pas disponibles
Autres spécifications
Hauteur de l'emballage
32 mm
Hauteur du produit
32 cm
Largeur d'emballage
235 mm
Largeur du produit
235 cm
Livre d‘étude
Oui
Longueur d'emballage
190 mm
Longueur du produit
190 cm
Poids de l'emballage
958 g
Police de caractères extra large
Non
EAN
EAN
9781680506969
Sécurité des produits
Opérateur économique responsable dans l’UE
Vous trouverez cet article :
Livre, ebook ou livre audio ?
Disponibilité
Langue
Type de livre
Des documents
Commentaires
Pas encore d'avis
Choisissez la version souhaitée
Choisissez votre version
En stockSelect
Commandé avant 23:59 heure, lundi chez vous
Livraison comprise avec bol
Retrait possible dans un point-relais bol
30 jours de réflexion et retour gratuit
Garantie légale via bol
Service client 24h/24
- Jour de livraison au choix








