Go in 24 Hours, Sams Teach Yourself: Next Generation Systems Programming with Golang

George Ornbo

  • 出版商: SAMS
  • 出版日期: 2017-12-08
  • 售價: $1,330
  • 貴賓價: 9.5$1,264
  • 語言: 英文
  • 頁數: 368
  • 裝訂: Paperback
  • ISBN: 0672338033
  • ISBN-13: 9780672338038
  • 相關分類: Go 程式語言
  • 相關翻譯: Go語言入門經典 (簡中版)
  • 立即出貨(限量) (庫存=1)



In just 24 sessions of one hour or less, Sams Teach Yourself Go in 24 Hours will help new and experienced programmers build software that’s simpler, more reliable, and far more scalable. This book’s straightforward, step-by-step approach guides you from setting up your environment through testing and deploying powerful solutions. Using practical examples, expert Go developer George Ornbo walks you through Go’s fundamental constructs, demonstrates its breakthrough features for concurrent and network programming, and illuminates Go’s powerful new idioms. Every lesson builds on what you’ve already learned, giving you a rock-solid foundation for real-world success.


Step-by-step instructions carefully walk you through the most common Go programming tasks and techniques

Quizzes and exercises help you test your knowledge and stretch your skills

Practical, hands-on examples show you how to apply what you learn

Notes and Tips point out shortcuts, solutions, and problems to avoid

Two bonus chapters available online: Hour 25, “Creating a RESTful JSON API,” and Hour 26 “Creating a TCP Chat Server”


Learn how to…

·         Get productive quickly with Go development tools and web servers

·         Master core features, including strings, functions, structs, and methods

·         Work with types, variables, functions, and control structures

·         Make the most of Go’s arrays, slices, and maps

·         Write powerful concurrent software with Goroutines and channels

·         Handle program errors smoothly

·         Promote code reuse with packages

·         Master Go’s unique idioms for highly effective coding

·         Use regular expressions and time/date functions

·         Test and benchmark Go code

·         Write basic command-line programs, HTTP servers, and HTTP clients

·         Efficiently move Go code into production

·         Build basic TCP chat servers and JSON APIs


Register your book at informit.com/register for convenient access to the two bonus chapters online, downloads, updates, and/or corrections as they become available.



在僅僅24個小時或更少的時間內,《Sams Teach Yourself Go in 24 Hours》將幫助新手和有經驗的程式設計師建立更簡單、更可靠且更具擴展性的軟體。本書通過直觀的步驟指導,從環境設置到測試和部署強大的解決方案。專業的Go開發者George Ornbo使用實際例子,引導您了解Go的基本結構,展示其在並發和網絡編程方面的突破性功能,並闡明Go的強大新慣用法。每個課程都建立在您已經學到的基礎上,為您在現實世界中取得成功打下堅實的基礎。





兩個線上額外章節:第25小時「創建一個RESTful JSON API」和第26小時「創建一個TCP聊天伺服器」


- 快速使用Go開發工具和網絡伺服器
- 掌握核心功能,包括字串、函數、結構和方法
- 使用類型、變數、函數和控制結構
- 充分利用Go的陣列、切片和映射
- 使用Goroutines和通道編寫強大的並發軟體
- 順利處理程式錯誤
- 通過套件促進程式碼重用
- 掌握Go獨特的慣用法以實現高效編碼
- 使用正則表達式和時間/日期函數
- 測試和基準Go程式碼
- 編寫基本的命令行程式、HTTP伺服器和HTTP客戶端
- 高效地將Go程式碼投入生產
- 構建基本的TCP聊天伺服器和JSON API