Go Programming - From Beginner to Professional - Second Edition: Learn everything you need to build modern software using Go
Coyle, Samantha
- 出版商: Packt Publishing
- 出版日期: 2024-03-29
- 售價: $1,660
- 貴賓價: 9.5 折 $1,577
- 語言: 英文
- 頁數: 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 web 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
目錄大綱(中文翻譯)
非常有價值的變數
指揮與控制
數據規則!
使用複雜類型整合
減少、重複使用、回收
不要驚慌!處理錯誤
使用介面增加彈性
通用演算法超能力
使用 Go 模組定義專案
套件讓專案易於管理
除蟲除錯技巧
時間相關
命令列程式設計
檔案與系統
SQL 與資料庫
網頁伺服器
使用 Go HTTP 客戶端
並行工作
測試
使用 Go 工具
Go 在雲端上