Learn to write clean, efficient code and build high-performance applications with Go
AI Reading Assistant
Whole-book reading guide from stratified index samples; jump to passages in the text
Tip the Site
Support this siteYour recognition and a small knowledge-service contribution help keep this technical work open source.Scan the WeChat Pay or Alipay code below. Logged-in and guest visitors can both tip.
WeChat Pay
Alipay
Open WeChat or Alipay and scan. No login required.
AI guide
【One-Line Pitch】
A hands-on, exercise-driven introduction to Go that takes you from syntax and core types to HTTP servers, databases, concurrency, and security. Best for beginners and developers from other languages who want to become productive in Go by building real mini-projects rather than reading theory.
【Book Arc】
- **Opening (~0%–10%)**: Environment setup plus the absolute basics — variables, operators, pointers, constants, scope, and the `if`/`switch`/loop control flow that makes code dynamic.
- **Early (~10%–30%)**: The data foundation — core types (numbers, text, runes, `nil`), complex types (arrays, slices, maps, structs, embedding, type assertions), and functions including first-class function usage.
- **Middle (~30%–55%)**: Working like a professional — errors and panics, packages and modularity, debugging and logging, time handling, JSON/gob encoding, files and CSV, SQL databases, and the Go HTTP client.
- **Late (~55%–80%)**: Building networked software — HTTP servers, routing, templating, static resources, REST-style JSON endpoints, and Go's concurrency features for running tasks in parallel.
- **Ending (~80%–100%)**: Tooling and hardening — `gofmt`/`goimports`, `go vet`, the race detector, security topics (SQL injection, XSS, hashing, symmetric/asymmetric encryption, TLS), and special features like build constraints, reflection, and `unsafe`.
【Key Takeaways】
- **Go is learned by doing, not by reading** (Early): every concept is paired with exercises and activities, so the book's value comes from typing and running the code yourself.
- **Types are the backbone of Go programs** (Early): core types build into complex types, and understanding slices, maps, structs, and embedding is what lets you model real data cleanly.
- **Functions are first-class citizens** (Early): passing, returning, and assigning functions unlocks flexible, reusable design patterns.
- **Errors are values, not exceptions** (Middle): the book emphasizes handling errors the Go way, plus knowing when a `panic` is appropriate and how to recover.
- **Packages and modularity keep code maintainable** (Middle): exported vs. unexported code, `init()` functions, and package structure are treated as everyday professional concerns.
- **Go's standard library covers a lot of ground** (Middle–Late): JSON, files, time, HTTP client/server, and cryptography are all handled without heavy third-party dependencies.
- **Concurrency is a headline feature** (Late): goroutines and channel-based concurrency let you split work and reduce processing time.
- **Security and tooling are part of shipping** (Ending): hashing, encryption, TLS, static analysis, and race detection are presented as practical skills, not afterthoughts.
【Reading Tips】
- **Do the exercises, don't just read them.** The book is structured as a workshop; skipping the activities removes most of the learning value.
- **Deep-read the type and function chapters (Early).** Slices, maps, structs, and function design are where beginners stumble most; slow down there.
- **Skim the setup chapter if your environment already works.** Once Go, Git, and your editor are configured, move on quickly.
- **Treat the later chapters as a reference.** HTTP, SQL, security, and special features are worth revisiting when you actually need them in a project.
- **Keep the mini-projects in mind.** The shopping cart, loan calculator, web page counter, and authentication system tie concepts together — use them as checkpoints.
【Coverage Limits】
This guide is based on stratified excerpts covering the table of contents, preface, and setup material; the excerpts do not include the full body text of most chapters, so specific code examples and exercise solutions are not summarized here.
Excerpt 1
ublishing cannot guarantee the accuracy of this information. Authors: Delio D'Anna, Andrew Hayes, Sam Hennessy, Jeremy Leasor, Gobin Sougrakpam, and Dániel S...
ity 11.01: Mimicking a Customer Order Using JSON Summary 12. Files and Systems Introduction Filesystem File Permissions Flags and Arguments Signals Exercise...
You will learn what a panic is and how to recover from one. Chapter 7 , Interfaces , starts by teaching the mechanics of interfaces and then demonstrates tha...
this stops (and it may take a few minutes), you're all done. Once done, select View from the top menu bar, then select Explorer . You'll now need somewhere t...
: Create a new folder and add a main.go file to it. In main.go , add the main package name to the top of the file: package main Now, add the imports we'll us...
: Create a new folder and add a main.go file to it. In main.go , add the main package name to the top of the file: package main Import the packages we'll nee...
Support this siteYour recognition and a small knowledge-service contribution help keep this technical work open source.
Scan the WeChat Pay or Alipay code below. Logged-in and guest visitors can both tip.
WeChat PayAlipay
Open WeChat or Alipay and scan. No login required.
Add Tag
Enter tag name (max 50 characters)
Share E-Book
The GO Workshop (Delio DAnna, Andrew Hayes, Sam Hennessy etc.)(Z-Library)
Scan QR code with your phone to access
Copy the link or scan the QR code to access this e-book on your phone
Share to WeChat Moments
The GO Workshop (Delio DAnna, Andrew Hayes, Sam Hennessy etc.)(Z-Library)
Scan the QR code with WeChat to open this book
Tap the ··· menu in the top-right corner
Choose Share to Moments
You are already in WeChat. Tap ··· in the top-right corner and choose Share to Moments.
Share E-Book via Email
Please enter email address
Donation Statistics
¥.00
Total Donations
0
Donation Count
The GO Workshop (Delio DAnna, Andrew Hayes, Sam Hennessy etc.)(Z-Library)
Find Your Favorite Books
Only registered users can comment after logging in. Comments need to be reviewed by administrators before being displayed
这本书由多位作者联合编写,是一本围绕 Go 语言实际开发的实践型教程,目标很明确:帮助读者学会写出干净、高效的代码,并用 Go 构建高性能应用。它不是单纯罗列语法的参考手册,而是以工作坊的方式,把语言特性和动手练习结合起来,让读者在做中学。
从给出的材料看,读者可以抓住几条线索。第一条是语言基础与代码组织。摘录中出现了包级变量与函数级变量的对比示例,说明变量声明的位置如何影响作用域,并用 go run 运行后输出 bar、qux 来演示这一区别;还有 hello 函数在索引越界时返回错误、以及用 fmt.Println 向控制台打印消息的例子,这些都指向函数定义、错误处理和基本输出等入门内容。另一处摘录展示了 getConfig 函数同时返回布尔值、字符串和时间值,以及用 var 一次声明多个 float32 变量的写法,涉及多返回值与类型声明。
第二条线索是实践项目与综合运用。目录摘录里出现了用 JSON 模拟客户订单的练习,以及“文件与系统”部分,涵盖文件系统、文件权限、标志与参数、信号,还有模拟清理、创建和写入文件等练习,说明书中把语言知识放进具体任务中演练。
第三条线索是环境准备。书中列...
Digital LibraryAI Assistant
Hi — I can help you pick a book. Tell me a topic, language, or level, e.g. “a light English read”. If that's too broad, I'll ask one follow-up.
Loading comments...
Reply to Comment
Edit Comment