Hands-On Go Programming: Explore Go by solving real-world challenges
暫譯: 實戰 Go 程式設計:透過解決真實世界挑戰來探索 Go
Tarik Guney
- 出版商: Packt Publishing
- 出版日期: 2018-08-30
- 售價: $1,360
- 貴賓價: 9.5 折 $1,292
- 語言: 英文
- 頁數: 176
- 裝訂: Paperback
- ISBN: 1789531756
- ISBN-13: 9781789531756
-
相關分類:
Go 程式語言、程式語言
海外代購書籍(需單獨結帳)
商品描述
Learn Go programming with concise examples providing solutions to many common fundamental problems.
Key Features
- Get comfortable with Go through short, independent, and concise recipes
- Overcome the most common challenges in Go with practical solutions
- Take advantage of the most exciting features of Go such as Goroutines
Book Description
Go has become increasingly popular. C-like speed, simplicity, and power for a growing number of system-level programming domains make it an attractive option for programmers. This book will help you learn the Go programming language by solving problems developers commonly face with a recipe approach.
You'll start by installing Go binaries and get familiar with the tools needed to develop an application. Then you'll manipulate with strings and use them in built-in function constructs to create a complex value from two floating-point values. Next, you'll learn how to perform arithmetic operations with date and time values, along with parsing them from string values.
Whether you're an expert programmer or a fresh starter, you will learn how various answers are programmed in the Go language, which will take you to the next level of mastery with Go. We cover concurrency in Go, performing various web programming tasks, doing system programming, reading and writing files, and many fundamental Go programming skills, such as proper error handling, and logging.
What you will learn
- Convert types from one to another
- Work with dates and times
- Work with maps and arrays
- Handle errors and perform logging
- Work with files and directories
- Handle HTTP request and responses
- Perform CRUD operations on a relational database
Who this book is for
This book caters to software developers who are interested in learning the Go language, and programmers who want to move forward with practical code examples.
Table of Contents
- Getting started with go
- Manipulating string values
- Type conversions
- Date and time
- Maps and arrays
- Errors and logging
- Files and directories
- Concurrency
- System programming
- Web programming
- Relational databases
商品描述(中文翻譯)
學習 Go 程式設計,透過簡潔的範例提供許多常見基本問題的解決方案。
主要特點
- 透過短小、獨立且簡潔的食譜來熟悉 Go
- 以實用的解決方案克服 Go 中最常見的挑戰
- 利用 Go 的最令人興奮的特性,例如 Goroutines
書籍描述
Go 語言越來越受歡迎。其類似 C 語言的速度、簡單性和強大功能使其成為越來越多系統級程式設計領域的吸引選擇。本書將通過食譜方法幫助您學習 Go 程式語言,解決開發人員常面臨的問題。
您將從安裝 Go 二進位檔開始,並熟悉開發應用程式所需的工具。接著,您將操作字串並在內建函數結構中使用它們,從兩個浮點值創建一個複雜值。然後,您將學習如何對日期和時間值執行算術運算,並從字串值中解析它們。
無論您是專家程式設計師還是新手,您都將學習如何在 Go 語言中編寫各種答案,這將使您在 Go 的掌握上更進一步。我們涵蓋了 Go 中的併發性、執行各種網頁程式設計任務、系統程式設計、讀取和寫入檔案,以及許多基本的 Go 程式設計技能,例如正確的錯誤處理和日誌記錄。
您將學習的內容
- 將類型從一種轉換為另一種
- 處理日期和時間
- 操作映射和陣列
- 處理錯誤並執行日誌記錄
- 操作檔案和目錄
- 處理 HTTP 請求和回應
- 在關聯式資料庫上執行 CRUD 操作
本書適合對學習 Go 語言感興趣的軟體開發人員,以及希望透過實用程式碼範例向前邁進的程式設計師。
目錄
1. 開始使用 Go
2. 操作字串值
3. 類型轉換
4. 日期和時間
5. 映射和陣列
6. 錯誤和日誌記錄
7. 檔案和目錄
8. 併發性
9. 系統程式設計
10. 網頁程式設計
11. 關聯式資料庫