Go Programming Cookbook: Over 75+ recipes to program microservices, networking, database and APIs using Golang (Go 程式設計食譜:超過 75 道食譜,使用 Golang 程式設計微服務、網路、資料庫和 API)

Taylor, Ian

  • 出版商: Gitforgits
  • 出版日期: 2024-02-05
  • 售價: $2,560
  • 貴賓價: 9.5$2,432
  • 語言: 英文
  • 頁數: 228
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 8119177371
  • ISBN-13: 9788119177370
  • 相關分類: Go 程式語言Microservices 微服務SOA資料庫
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

The Go Programming Cookbook ensures Go programmers may confidently and effectively navigate the complex software development landscape. Both newcomers to the world of Go programming and seasoned professionals looking to sharpen their skills will find something of interest in this carefully written book.


This cookbook covers a wide range of topics, from the basics of Go syntax and core ideas to more advanced subjects like concurrency, networking, and microservices design. Building a Go development environment, learning the fundamentals of Go constructs, and mastering the art of Go Module dependency management are all covered in the first few chapters, which prepare readers for what's to come. To guarantee that readers can construct strong and maintainable programs, the next sections cover error handling, unit testing, and database interfaces. The book really comes into its own when it comes to its in-depth examination of network programming; it covers topics like building HTTP clients, implementing FTP and SSH clients, and using WebSockets for real-time communication.


To prepare developers to create safe, networked applications in a world where everything is always connected, it teaches them how to establish secure TLS/SSL communications, which is a fundamental component of security. In addition to providing practical solutions, the recipes educate readers on the concurrency model and design principles of Go, which helps them build an intuitive understanding of high-performance software development.


Key Learnings
  • Get a solid grounding in programming by learning the syntax and concepts of Go.
  • Explore concurrency with Goroutines and Channels to maximize Go's possibilities.
  • Effortlessly handle intricate network programming jobs involving WebSockets and HTTP clients.
  • Learn TLS/SSL inside and out to make your applications secure for transmitted sensitive information.
  • Effectively manage data by integrating with SQL and NoSQL databases.
  • Use Go Modules to have easier dependency management and build reproducibility.
  • Make your Go code clean and easy to maintain by following design patterns and other best practices.
  • Get the most out of your system by learning about memory management, benchmarking, and profiling.
  • Create web servers and microservices from the ground up that are scalable and perform exceptionally well.
  • Become an expert Go problem solver by learning practical answers to real-world issues.


Table of Content
  1. Setting up and Exploring Go
  2. Advanced Go Features and Techniques
  3. File Handling and Data Processing in Go
  4. Building and Managing Go APIs
  5. Implementing RPC and gRPC Services in Go
  6. Web Services and Automation using Go
  7. Building Microservices Architecture using Go
  8. Strengthening Database Interactions
  9. Enhancing Performance and Best Practices in Go
  10. Networking and Protocol Handling

商品描述(中文翻譯)

《Go 程式設計食譜》確保 Go 程式設計師能夠自信且有效地在複雜的軟體開發環境中導航。無論是剛接觸 Go 程式設計的新手,還是希望提升技能的資深專業人士,都能在這本精心撰寫的書中找到感興趣的內容。

這本食譜涵蓋了廣泛的主題,從 Go 語法和核心概念的基礎知識,到更高級的主題,如併發、網路和微服務設計。前幾章介紹了建立 Go 開發環境、學習 Go 語言結構的基本原理,以及掌握 Go Module 依賴管理的藝術,為讀者接下來的內容做好準備。為了確保讀者能夠構建強大且可維護的程式,接下來的部分涵蓋了錯誤處理、單元測試和資料庫介面。這本書在深入探討網路程式設計時真正展現了其價值;它涵蓋了建立 HTTP 客戶端、實作 FTP 和 SSH 客戶端,以及使用 WebSockets 進行即時通訊等主題。

為了讓開發者能夠在一個隨時連接的世界中創建安全的網路應用程式,書中教導他們如何建立安全的 TLS/SSL 通訊,這是安全性的一個基本組成部分。除了提供實用的解決方案外,這些食譜還教育讀者有關 Go 的併發模型和設計原則,幫助他們建立對高效能軟體開發的直觀理解。

主要學習重點:
- 通過學習 Go 的語法和概念,獲得堅實的程式設計基礎。
- 探索 Goroutines 和 Channels 的併發性,以最大化 Go 的潛力。
- 輕鬆處理涉及 WebSockets 和 HTTP 客戶端的複雜網路程式設計任務。
- 徹底了解 TLS/SSL,使您的應用程式在傳輸敏感資訊時保持安全。
- 通過整合 SQL 和 NoSQL 資料庫,有效管理數據。
- 使用 Go Modules 簡化依賴管理和構建可重現性。
- 通過遵循設計模式和其他最佳實踐,使您的 Go 代碼乾淨且易於維護。
- 通過學習記憶體管理、基準測試和性能分析,充分發揮系統的潛力。
- 從零開始創建可擴展且性能卓越的網路伺服器和微服務。
- 通過學習實際解決方案,成為 Go 問題解決的專家。

目錄:
1. 設定和探索 Go
2. 進階 Go 特性和技術
3. Go 中的檔案處理和數據處理
4. 建立和管理 Go API
5. 在 Go 中實作 RPC 和 gRPC 服務
6. 使用 Go 的網路服務和自動化
7. 使用 Go 建立微服務架構
8. 強化資料庫互動
9. 提升 Go 的性能和最佳實踐
10. 網路和協議處理