Powerful command-line applications in Go build fast and maintainable tools / Ricardo Gerardi.
| Author/creator | Gerardi, Ricardo |
| Format | Electronic |
| Publication Info | Raleigh, North Carolina : The Pragmatic Bookshelf, [2021] |
| Description | xxv, 475 pages : illustrations ; 24 cm. |
| Supplemental Content | Full text available from Ebook Central - Academic Complete |
| Subjects |
| Series | The pragmatic programmers |
| Contents | 1. Your first command-line program in Go -- 2. Interacting with your users -- 3. Working with files in Go -- 4. Navigating the file system -- 5. Improving the performance of your CLI tools -- 6. Controlling processes -- 7. Using the Cobra CLI framework -- 8. Talking to REST APIs -- 9. Developing interactive terminal tools -- 10. Persisting data in a SQL database -- 11. Disbributing your tool. |
| Abstract | Go is a modern programming language that combines the reliability of compiled languages with the ease of use and flexibility of dynamic typed languages. With Go, you can develop cross-platform command-line tools that are fast and reliable. 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. Control processes and handle signals, and use a benchmark-driven approach and Go 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. Write your own fast, reliable, and cross-platform command-line tools with the Go programming language. |
| Bibliography note | Includes index. |
| Access restriction | Available only to authorized users. |
| Technical details | Mode of access: World Wide Web |
| Genre/form | Electronic books. |
| LCCN | 2023278455 |
| ISBN | 9781680506969 paperback |
| ISBN | 168050696X paperback |
Availability
| Library | Location | Call Number | Status | Item Actions |
|---|---|---|---|---|
| Electronic Resources | Access Content Online | ✔ Available |