Go Programming - From Beginner to Professional - Second Edition: Learn everything you need to build modern software using Go
暫譯: Go 程式設計 - 從初學者到專業人士 - 第二版:學習使用 Go 建立現代軟體所需的一切
Coyle, Samantha
- 出版商: Packt Publishing
- 出版日期: 2024-03-29
- 售價: $1,700
- 貴賓價: 9.5 折 $1,615
- 語言: 英文
- 頁數: 680
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1803243058
- ISBN-13: 9781803243054
-
相關分類:
Go 程式語言
海外代購書籍(需單獨結帳)
相關主題
商品描述
Harness the power of Go through hands-on coding examples, covering basic to advanced topics like modules, database interfacing, RESTful APIs, concurrency, and beyond
Key Features
- Leverage Go's standard library through practical examples and simplify development tasks using best practices
- Master effective idiomatic Go syntax, including variables, functions, and loops, to handle data
- Build fully functional web applications with capabilities such as database connectivity and RESTful API creation
- Purchase of the print or Kindle book includes a free PDF eBook
Book Description
Go Programming - From Beginner to Professional is a comprehensive guide that takes your proficiency in the Go programming language from novice to expert. Starting with fundamental concepts, this book covers variables, command-line tools, and working with data before delving into advanced concepts, including error handling, interfaces, and generics, harnessing Go's latest features through hands-on exercises. Along the way, you'll learn to structure projects using Go modules, manage packages effectively, and master debugging techniques.
As you progress, you'll get to grips with practical application-centric aspects such as command-line programming, file manipulation, and working with SQL databases. Additionally, the book explores web server development, RESTful APIs, and utilizing the Go HTTP client to interact with web applications. Further enhancing your Go skills, you'll learn concurrent programming, testing methodologies, Go tools, and how to deploy applications in the cloud. Throughout the book, you'll uncover Go's hidden gems and gain insights into time manipulation, best practices, and more.
By the end of this book, you'll have worked through practical exercises and activities that'll equip you with the knowledge and skills needed to excel as a proficient Go developer, primed for success in real-world projects.
What you will learn
- Understand the Go syntax and apply it proficiently to handle data and write functions
- Debug your Go code to troubleshoot development problems
- Safely handle errors and recover from panics
- Implement polymorphism using interfaces and gain insight into generics
- Work with files and connect to popular external databases
- Create an HTTP client and server and work with a RESTful web API
- Use concurrency to design efficient software
- Use Go tools to simplify development and improve your code
Who this book is for
Designed for both complete beginners in Go as well as professionals transitioning from another programming language, this book equips developers with skills needed to build real-world projects and launch their career in Go. With a step-by-step approach, beginners can grasp Go fundamentals even without prior programming experience, and gradually advance to idiomatic Go best practices, exploring the latest features of the language.
商品描述(中文翻譯)
利用實作編碼範例來掌握 Go 的力量,涵蓋從基本到進階的主題,如模組、資料庫介接、RESTful API、併發等。
主要特色
- 透過實用範例利用 Go 的標準庫,並使用最佳實踐簡化開發任務
- 精通有效的 Go 語法,包括變數、函數和迴圈,以處理資料
- 建立具備資料庫連接和 RESTful API 創建功能的完整網頁應用程式
- 購買印刷版或 Kindle 版書籍可獲得免費 PDF 電子書
書籍描述
《Go 程式設計 - 從初學者到專業人士》是一本全面的指南,將您在 Go 程式語言的熟練度從新手提升至專家。從基本概念開始,本書涵蓋變數、命令列工具和資料處理,然後深入探討進階概念,包括錯誤處理、介面和泛型,透過實作練習掌握 Go 的最新特性。在這個過程中,您將學會使用 Go 模組結構化專案,有效管理套件,並精通除錯技術。
隨著進度的推進,您將掌握以應用為中心的實用方面,如命令列程式設計、檔案操作和 SQL 資料庫的使用。此外,本書還探討網頁伺服器開發、RESTful API,以及如何利用 Go 的 HTTP 客戶端與網頁應用程式互動。進一步提升您的 Go 技能,您將學習併發程式設計、測試方法、Go 工具,以及如何在雲端部署應用程式。在整本書中,您將發現 Go 的隱藏寶藏,並獲得有關時間操作、最佳實踐等的見解。
在本書結束時,您將完成實用的練習和活動,這將使您具備成為熟練 Go 開發者所需的知識和技能,為在真實專案中取得成功做好準備。
您將學到的內容
- 理解 Go 語法並熟練應用以處理資料和撰寫函數
- 除錯您的 Go 程式碼以排除開發問題
- 安全處理錯誤並從恐慌中恢復
- 使用介面實現多型並深入了解泛型
- 操作檔案並連接到流行的外部資料庫
- 創建 HTTP 客戶端和伺服器,並使用 RESTful 網頁 API
- 利用併發設計高效的軟體
- 使用 Go 工具簡化開發並改善您的程式碼
本書適合誰
本書專為完全的 Go 初學者以及從其他程式語言轉型的專業人士設計,為開發者提供建立真實專案和啟動 Go 職業生涯所需的技能。透過逐步的方法,初學者即使沒有先前的程式設計經驗,也能掌握 Go 的基本知識,並逐漸進步到慣用的 Go 最佳實踐,探索該語言的最新特性。
目錄大綱
- Very Valuable Variables
- Command and Control
- Data Rules!
- Get It Together with Complex Types
- Reduce, Reuse, Recycle
- Don't Panic! Handle Your Errors
- Get Flexible with Interfaces
- Generic Algorithm Superpowers
- Use Go Modules to Define a Project
- Packages Keep Projects Manageable
- Bug Busting Debugging Skills
- About Time
- Programming for the Command-Line
- Files and Systems
- SQL and Databases
- Web Servers
- Using the Go HTTP Client
- Concurrent Work
- Testing
- Using Go Tools
- Go in the Cloud
目錄大綱(中文翻譯)
- Very Valuable Variables
- Command and Control
- Data Rules!
- Get It Together with Complex Types
- Reduce, Reuse, Recycle
- Don't Panic! Handle Your Errors
- Get Flexible with Interfaces
- Generic Algorithm Superpowers
- Use Go Modules to Define a Project
- Packages Keep Projects Manageable
- Bug Busting Debugging Skills
- About Time
- Programming for the Command-Line
- Files and Systems
- SQL and Databases
- Web Servers
- Using the Go HTTP Client
- Concurrent Work
- Testing
- Using Go Tools
- Go in the Cloud