Description |
1 online resource (xxv, 475 pages) |
Series |
The pragmatic programmers |
|
Pragmatic programmers.
|
Note |
Includes index. |
Summary |
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. |
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. |
Subject |
Go (Computer program language)
|
|
Application software -- Development.
|
|
Go (Langage de programmation) |
|
Logiciels d'application -- Développement. |
|
Application software -- Development |
|
Go (Computer program language) |
Other Form: |
Print version: Gerardi, Ricardo. Powerful command-line applications in Go. Raleigh, North Carolina : The Pragmatic Bookshelf, [2021] 9781680506969 (OCoLC)1198600048 |
ISBN |
1680509330 electronic book |
|
9781680509335 (electronic bk.) |
|