相關主題
商品描述
Practical techniques for building concurrent, cloud-native, and high performance Go applications--all accelerated with productivity-boosting AI tools. Go in Practice, Second Edition is full of tips, tricks, best practices, and expert insights into how to get things done with Go. It builds on your existing knowledge of the Go language, introducing specific strategies you can use to maximize your productivity in day-to-day dev work. In Go in Practice, Second Edition, you'll learn: - Concurrency with goroutines and channels
- Web servers and microservices with event streams and websockets
- Logging, caching, and data access from environment variables and files
- Cloud-native Go applications
- AI tools to accelerate your development workflow Go in Practice, Second Edition has been extensively revised by author Nathan Kozyra to cover the latest version of Go, along with new dev techniques, including productivity-boosting AI tools. It follows an instantly-familiar cookbook-style Problem/Solution/Discussion format, building on what you already know about Go with advanced or little-known techniques for concurrency, logging and caching, microservices, testing, deployment, and more. Purchase of the print book includes a free eBook in PDF and ePub formats from Manning Publications. About the technology You've mastered the basics of Go--now what? To build production-quality Go applications, you'll need to handle concurrency, networking, file access, native communication protocols like gRPC and TCP/REST, and a host of other practical issues. Following a friendly cookbook format, this book gives you instantly-useful solutions to the problems you'll see on the job. About the book Go in Practice, Second Edition delivers dozens of practical techniques for writing and maintaining Go applications following a handy problem/solution/discussion format. This up-to-date revision covers the latest Go innovations, including generics, panics and other error handling tools, and modern concurrency patterns, along with advanced features like reflection and code generation. You'll also love the tips for integrating AI code completion into your development process. What's inside - Concurrency with goroutines and channels
- Web servers and microservices
- Logging, caching, and data access About the reader For intermediate developers with previous experience in Go. About the author Nathan Kozyra is a full-stack developer with twenty years of experience building production web and mobile applications. He's worked with Go since 2009 in both large companies and startups. Matt Butcher and Matt Farina authored the first edition of this book. Table of Contents Part 1
1 Getting started with Go
2 A solid foundation: Building a command-line application
3 Structs, interfaces, and generics
Part 2
4 Handling errors and panics
5 Concurrency in Go
6 Formatting, testing, debugging, and benchmarking
7 File access and basic networking
Part 3
8 Building an HTTP server
9 HTML and email template patterns
10 Sending and receiving data
11 Working with external services
Part 4
12 Cloud-ready applications and communications
13 Reflection, code generation, and advanced Go
- Web servers and microservices with event streams and websockets
- Logging, caching, and data access from environment variables and files
- Cloud-native Go applications
- AI tools to accelerate your development workflow Go in Practice, Second Edition has been extensively revised by author Nathan Kozyra to cover the latest version of Go, along with new dev techniques, including productivity-boosting AI tools. It follows an instantly-familiar cookbook-style Problem/Solution/Discussion format, building on what you already know about Go with advanced or little-known techniques for concurrency, logging and caching, microservices, testing, deployment, and more. Purchase of the print book includes a free eBook in PDF and ePub formats from Manning Publications. About the technology You've mastered the basics of Go--now what? To build production-quality Go applications, you'll need to handle concurrency, networking, file access, native communication protocols like gRPC and TCP/REST, and a host of other practical issues. Following a friendly cookbook format, this book gives you instantly-useful solutions to the problems you'll see on the job. About the book Go in Practice, Second Edition delivers dozens of practical techniques for writing and maintaining Go applications following a handy problem/solution/discussion format. This up-to-date revision covers the latest Go innovations, including generics, panics and other error handling tools, and modern concurrency patterns, along with advanced features like reflection and code generation. You'll also love the tips for integrating AI code completion into your development process. What's inside - Concurrency with goroutines and channels
- Web servers and microservices
- Logging, caching, and data access About the reader For intermediate developers with previous experience in Go. About the author Nathan Kozyra is a full-stack developer with twenty years of experience building production web and mobile applications. He's worked with Go since 2009 in both large companies and startups. Matt Butcher and Matt Farina authored the first edition of this book. Table of Contents Part 1
1 Getting started with Go
2 A solid foundation: Building a command-line application
3 Structs, interfaces, and generics
Part 2
4 Handling errors and panics
5 Concurrency in Go
6 Formatting, testing, debugging, and benchmarking
7 File access and basic networking
Part 3
8 Building an HTTP server
9 HTML and email template patterns
10 Sending and receiving data
11 Working with external services
Part 4
12 Cloud-ready applications and communications
13 Reflection, code generation, and advanced Go
商品描述(中文翻譯)
實用技術,用於構建並發、雲原生和高效能的 Go 應用程式——所有這些都能透過提升生產力的 AI 工具加速實現。
Go in Practice, Second Edition 充滿了技巧、竅門、最佳實踐和專家見解,幫助你使用 Go 完成工作。它基於你對 Go 語言的現有知識,介紹了可以用來最大化日常開發工作生產力的具體策略。 在 Go in Practice, Second Edition 中,你將學到: - 使用 goroutines 和 channels 進行並發- 使用事件流和 websockets 構建網頁伺服器和微服務
- 從環境變數和檔案中進行日誌記錄、快取和數據訪問
- 雲原生的 Go 應用程式
- 加速開發工作流程的 AI 工具 Go in Practice, Second Edition 由作者 Nathan Kozyra 進行了廣泛修訂,以涵蓋最新版本的 Go,以及新的開發技術,包括提升生產力的 AI 工具。它遵循即時熟悉的食譜式問題/解決方案/討論格式,基於你已經了解的 Go 知識,介紹了並發、日誌記錄和快取、微服務、測試、部署等方面的高級或鮮為人知的技術。 購買印刷版書籍可獲得 Manning Publications 提供的免費 PDF 和 ePub 格式電子書。 關於技術 你已經掌握了 Go 的基礎——接下來該怎麼辦?要構建生產級的 Go 應用程式,你需要處理並發、網絡、檔案訪問、像 gRPC 和 TCP/REST 這樣的原生通信協議,以及其他一系列實際問題。本書遵循友好的食譜格式,為你在工作中遇到的問題提供即時可用的解決方案。 關於本書 Go in Practice, Second Edition 提供了數十種實用技術,用於編寫和維護 Go 應用程式,遵循方便的問題/解決方案/討論格式。這一最新修訂涵蓋了最新的 Go 創新,包括泛型、恐慌和其他錯誤處理工具,以及現代並發模式,還有反射和代碼生成等高級特性。你還會喜歡將 AI 代碼補全整合到開發過程中的技巧。 內容概覽 - 使用 goroutines 和 channels 進行並發
- 網頁伺服器和微服務
- 日誌記錄、快取和數據訪問 讀者對象 適合具有 Go 先前經驗的中級開發者。 關於作者 Nathan Kozyra 是一名全棧開發者,擁有二十年的生產網頁和移動應用程式開發經驗。他自 2009 年以來一直在大型公司和初創企業中使用 Go。Matt Butcher 和 Matt Farina 是本書第一版的作者。 目錄 第一部分
1 開始使用 Go
2 堅實的基礎:構建命令行應用程式
3 結構體、介面和泛型
第二部分
4 處理錯誤和恐慌
5 Go 中的並發
6 格式化、測試、除錯和基準測試
7 檔案訪問和基本網絡
第三部分
8 構建 HTTP 伺服器
9 HTML 和電子郵件模板模式
10 發送和接收數據
11 與外部服務合作
第四部分
12 雲端就緒的應用程式和通信
13 反射、代碼生成和高級 Go
作者簡介
Nathan Kozyra is a full-stack developer with twenty years of experience building production web and mobile applications. He's worked with Go since 2009 in both large companies and startups. Nathan has a masters in computer science with a focus on machine learning. Matt Butcher is a CEO, software engineer, tech author, speaker, and ex-professor. Matt Farina is a software engineer and architect primarily focused on cloud applications.
作者簡介(中文翻譯)
Nathan Kozyra 是一位全端開發者,擁有二十年的生產網頁和行動應用程式開發經驗。他自2009年以來在大型公司和新創公司中使用 Go。Nathan 擁有計算機科學碩士學位,專注於機器學習。
Matt Butcher 是一位執行長、軟體工程師、技術作者、演講者及前教授。Matt Farina 是一位軟體工程師和架構師,主要專注於雲端應用程式。