ExtraTorrent.st - The Largest Bittorent System
Latest Articles
Most searched
ExtraTorrent.st > Categories > Books torrents > Non-Fiction torrents


Browse Books torrents

Gerardi R. - Powerful Command-Line Applications in Go [2021, PDF, ENG] torrent


Download torrent: Magnet link
Info hash: A16887C8AC8555B384194CBB6531752251DF2DCF
Category: Categories > Books torrents > Non-Fiction torrents
Trackers:
http://bt3.t-ru.org/ann?magnet
http://bt1.t-ru.org/ann
http://bt2.t-ru.org/ann
http://bt4.t-ru.org/ann
udp://tracker.opentrackr.org:1337
udp://open.stealth.si:80/announce
udp://tracker.torrent.eu.org:451/announce
udp://exodus.desync.com:6969
udp://open.demonii.com:1337/announce
udp://tracker.coppersurfer.tk:6969
udp://p4p.arenabg.com:1337
udp://tracker.internetwarriors.net:1337
Health:
 seeds: 17, leechers: 2
Torrent language:  
Total Size: 8.60 MB
Number of files:
1   
Uploader:
DSokolov.MK
Torrent added:2023-03-11 21:09:00

Download Gerardi R. - Powerful Command-Line Applications in Go [2021, PDF, ENG] torrent




Torrent Description
Книги и журналы » Компьютерная литература » Программирование (книги)

Powerful Command-Line Applications in Go / Полнофункциональные приложения командной строки в Go

Год издания: 2021
Автор: Ricardo Gerardi

Издательство: The Pragmatic Bookshelf
ISBN: 978-1-68050-696-9
Язык: Английский

Формат: PDF
Качество: Издательский макет или текст (eBook)
Интерактивное оглавление: Да
Количество страниц: 500

Описание: Many popular command-line tools you use are developed with Go. These include Docker, Podman, Kubectl, Openshift CLI, Hugo, and Terraform. If you’ve ever wondered how you can make your own tools like these, this book will show you how.

You’ll apply your knowledge of Go’s basic syntax and also employ more advanced concepts to develop several command-line applications. You can use these applications to automate tasks, analyze data, parse logs, talk to network services, or address other system requirements. You’ll also employ different testing and benchmarking techniques to ensure your programs are fast and reliable.
[hr]
Многие популярные инструменты командной строки, которые вы используете, разработаны с помощью Go. К ним относятся Docker, Podman, Kubectl, Openshift CLI, Hugo и Terraform. Если вы когда-нибудь задумывались, как сделать такие инструменты своими руками, эта книга покажет вам, как это сделать.

Вы примените свои знания базового синтаксиса Go, а также примените более продвинутые концепции для разработки нескольких приложений командной строки. Вы можете использовать эти приложения для автоматизации задач, анализа данных, анализа журналов, взаимодействия с сетевыми службами или удовлетворения других системных требований. Вы также будете использовать различные методы тестирования и сравнительного анализа, чтобы убедиться, что ваши программы работают быстро и надежно.
[spoiler="Примеры страниц"]

[/spoiler]
[spoiler="Оглавление"]
1. Your First Command-Line Program in Go
Building the Basic Word Counter
Testing the Basic Word Counter
Adding Command-Line Flags
Compiling Your Tool for Different Platforms
Exercises
Wrapping Up

2. Interacting with Your Users
Organizing Your Code
Defining the To-Do API
Creating the Initial To-Do Command-Line Tool
Testing the Initial CLI Implementation
Handling Multiple Command-Line Options
Display Command-Line Tool Usage
Improving the List Output Format
Increasing Flexibility with Environment Variables
Capturing Input from STDIN
Exercises
Wrapping Up

3. Working with Files in Go
Creating a Basic Markdown Preview Tool
Writing Tests for the Markdown Preview Tool
Adding Temporary Files to the Markdown Preview Tool
Using Interfaces to Automate Tests
Adding an Auto-Preview Feature
Cleaning Up Temporary Files
Improving the Markdown Preview Tool with Templates
Exercises
Wrapping Up

4. Navigating the File System
Developing a File System Crawler
Testing with Table-Driven Testing
Deleting Matched Files
Testing with the Help of Test Helpers
Logging Deleted Files
Archiving Files
Exercises
Wrapping Up

5. Improving the Performance of Your CLI Tools
Developing the Initial Version of colStats
Writing Tests for colStats
Benchmarking Your Tool
Profiling Your Tool
Reducing Memory Allocation
Tracing Your Tool
Improving the colStats Tool to Process Files Concurrently
Reduce Scheduling Contention
Exercises
Wrapping Up

6. Controlling Processes
Executing External Programs
Handling Errors
Writing Tests for Goci
Defining a Pipeline
Adding Another Step to the Pipeline
Handling Output from External Programs
Running Commands with Contexts
Integration Tests with a Local Git Server
Testing Commands with Mock Resources
Handling Signals
Exercises
Wrapping Up

7. Using the Cobra CLI Framework
Starting Your Cobra Application
Navigating Your New Cobra Application
Adding the First Subcommand to Your Application
Starting the Scan Package
Creating the Subcommands to Manage Hosts
Testing the Manage Hosts Subcommands
Adding the Port Scanning Functionality
Using Viper for Configuration Management
Generating Command Completion and Documentation
Exercises
Wrapping Up

8. Talking to REST APIs
Developing a REST API Server
Testing the REST API Server
Completing the REST API Server
Developing the Initial Client for the REST API
Testing the Client Without Connecting to the API
Viewing a Single Item
Adding an Item
Testing HTTP Requests Locally
Completing and Deleting Items
Executing Integration Tests
Exercises
Wrapping Up

9. Developing Interactive Terminal Tools
Initializing the Pomodoro Application
Storing Data with the Repository Pattern
Testing the Pomodoro Functionality
Building the Interface Widgets
Organizing the Interface’s Layout
Building the Interactive Interface
Initializing the CLI with Cobra
Exercises
Wrapping Up

10. Persisting Data in a SQL Database
Getting Started with SQLite
Go, SQL, and SQLite
Persisting Data in the Database
Testing the Repository with SQLite
Updating the Application to Use the SQLite Repository
Displaying a Summary to the Users
Exercises
Wrapping Up

11. Distributing Your Tool
Starting the Notify Package
Including OS-Specific Data
Including OS-Specific Files in the Build
Testing the Notify Package
Conditionally Building Your Application
Cross-Compiling Your Application
Compiling Your Go Application for Containers
Distributing Your Application as Source Code
Exercises
Wrapping Up
[/spoiler]

Download Gerardi R. - Powerful Command-Line Applications in Go [2021, PDF, ENG] torrent


Related Torrents

Added  Size  S  L  Health
Download Magnet link   Gerardi R. Automate Your Home Using Go. Build a Personal Data Center...2024 in Ebooks , by
andryold1
2y 28.89 MB 9 0
Download Magnet link   Gerardi R. Powerful Command-Line Applications in Go 2021 PDF in Ebooks , by
andryold1
4y 5.04 MB 0 1




Home - Browse Torrents
ExtraTorrent.st is in compliance with copyrights
2025 ExtraTorrent.st