Mastering Go - Fourth Edition: Leverage Go's expertise for advanced utilities, empowering you to develop professional software

Tsoukalos, Mihalis

  • 出版商: Packt Publishing
  • 出版日期: 2024-03-29
  • 售價: $2,100
  • 貴賓價: 9.5$1,995
  • 語言: 英文
  • 頁數: 736
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1805127144
  • ISBN-13: 9781805127147
  • 相關分類: Go 程式語言
  • 海外代購書籍(需單獨結帳)

商品描述

Dive into the core of Go programming and cover advanced topics like generics, concurrency, web services, and cutting-edge testing techniques in this comprehensive fourth edition.

Key Features

  • Fully updated with coverage of web services, TCP/IP, REST APIs, Go Generics, and Fuzzy Testing
  • Apply your new knowledge to real-world exercises, building high-performance servers and robust command-line utilities, to deepen your learning
  • Gain clarity on what makes Go different, understand its nuances and features for smoother Go development

Book Description

Mastering Go, now in its fourth edition, remains the go-to resource for real-world Go development. This comprehensive guide delves into advanced Go concepts, including RESTful servers, and Go memory management. This edition brings new chapters on Go Generics and fuzzy Testing, and an enriched exploration of efficiency and performance. As you work your way through the chapters, you will gain confidence and a deep understanding of advanced Go topics, including concurrency and the operation of the Garbage Collector, using Go with Docker, writing powerful command-line utilities, working with JavaScript Object Notation (JSON) data, and interacting with databases.

You will be engaged in real-world exercises, build network servers, and develop robust command-line utilities. With in-depth chapters on RESTful services, the WebSocket protocol, and Go internals, you are going to master Go's nuances, optimization, and observability. You will also elevate your skills in efficiency, performance, and advanced testing.

With the help of Mastering Go, you will become an expert Go programmer by building Go systems and implementing advanced Go techniques in your projects.

What you will learn

  • Learn Go data types, error handling, constants, pointers, and array and slice manipulations through practical exercises
  • Create generic functions, define data types, explore constraints, and grasp interfaces and reflections
  • Grasp advanced concepts like packages, modules, functions, and database interaction
  • Create concurrent RESTful servers, and build TCP/IP clients and servers
  • Learn testing, profiling, and efficient coding for high-performance applications
  • Develop an SQLite package, explore Docker integration, and embrace workspaces

Who this book is for

Mastering Go is written primarily for Go programmers who have some experience with the language and want to become expert practitioners. You will need to know the basics of computer programming before you get started with this book, but beyond that, anyone can sink their teeth into it.

商品描述(中文翻譯)

深入探索Go程式設計的核心,並在這本全面的第四版書籍中涵蓋高階主題,如泛型、並行處理、網路服務和尖端測試技術。

主要特點:

- 完全更新,包含網路服務、TCP/IP、REST API、Go泛型和模糊測試的內容
- 透過實際練習將新知識應用於實際案例,建立高效能伺服器和強大的命令列工具,加深學習
- 清楚了解Go的特點和細微差異,以實現更順暢的Go開發

書籍描述:

《Mastering Go》第四版仍然是實際Go開發的首選資源。這本全面的指南深入探討了高階Go概念,包括RESTful伺服器和Go記憶體管理。本版新增了關於Go泛型和模糊測試的章節,並豐富了效能和性能的探索。通過逐章的學習,您將獲得對高階Go主題的信心和深入理解,包括並行處理和垃圾回收器的運作、使用Go與Docker、撰寫強大的命令列工具、處理JavaScript物件表示法(JSON)資料以及與資料庫互動。

您將參與實際案例練習,建立網路伺服器並開發強大的命令列工具。透過深入探討RESTful服務、WebSocket協定和Go內部運作的章節,您將掌握Go的細微差異、優化和可觀察性。您還將提升在效能、性能和高階測試方面的技能。

借助《Mastering Go》的幫助,您將通過在專案中建立Go系統並實施高階Go技術,成為一名專業的Go程式設計師。

學到什麼:

- 透過實際練習學習Go的資料類型、錯誤處理、常數、指標以及陣列和切片操作
- 創建泛型函數,定義資料類型,探索限制條件,並理解介面和反射
- 掌握包、模組、函數和資料庫互動等高階概念
- 創建並行處理的RESTful伺服器,以及建立TCP/IP客戶端和伺服器
- 學習測試、分析和高效編碼,以開發高性能應用程式
- 開發SQLite套件,探索Docker整合,並使用工作區

適合閱讀對象:

《Mastering Go》主要針對有一定Go程式設計經驗且希望成為專業從業者的Go程式設計師。在閱讀本書之前,您需要了解計算機程式設計的基礎知識,但除此之外,任何人都可以深入學習。

目錄大綱

  1. A Quick Introduction to Go
  2. Basic Go Data Types
  3. Composite Data Types
  4. Go Generics
  5. Reflection and Interfaces
  6. Go Packages and Functions
  7. Telling a UNIX System What to Do
  8. Go Concurrency
  9. Building Web Services
  10. Working with TCP/IP and WebSocket
  11. Working with REST APIs
  12. Code Testing and Profiling
  13. Fuzz Testing and Observability
  14. Efficiency and Performance
  15. Changes in Recent Go Versions
  16. Appendix

目錄大綱(中文翻譯)

- Go 快速入門
- Go 基本資料類型
- 複合資料類型
- Go 泛型
- 反射和介面
- Go 套件和函式
- 告訴 UNIX 系統該做什麼
- Go 並行處理
- 建立網路服務
- 使用 TCP/IP 和 WebSocket
- 使用 REST API
- 程式碼測試和效能分析
- 模糊測試和可觀察性
- 效能和效能
- 近期 Go 版本的變更
- 附錄