Go
从第一行代码到生产级服务:简单、快速、并发。
Go is the language behind Docker, Kubernetes and countless cloud services. This track takes you from your very first line of code to production services: types, collections, interfaces, generics, goroutines and channels, HTTP APIs, PostgreSQL, testing and deployment.
Every lesson is short, practical and checked with quizzes, so you learn by doing.
- 课时
- 57
- 时长
- 7 小时
- 级别
- 初级
本课程的内容目前为英文。
- 铜牌 可挑战
- 银牌 可挑战
- 金牌 未解锁
准备好证明自己了吗?
三场考试正等着你:铜牌、银牌和金牌。
学完后你将能够
- Write clear, idiomatic Go with structs, interfaces and generics
- Handle errors the way experienced Go developers do
- Run work concurrently with goroutines, channels and context
- Build a JSON REST API backed by PostgreSQL
- Test, profile and ship a Go service to production
学习旅程
1 第 1 单元Getting started
What Go is, your first program, and the tools you will use every day.
0 / 42 第 2 单元Variables and types
Store values, choose the right type, and work with text correctly.
0 / 53 第 3 单元Control flow
Make decisions and repeat work with if, for, switch and defer.
0 / 54 第 4 单元Functions
Package logic into functions, return errors, and use closures.
0 / 45 第 5 单元Arrays, slices and maps
Go's everyday collections and the traps that catch beginners.
0 / 46 第 6 单元Structs, methods and interfaces
Model your own data and write code that works with any type that fits.
0 / 57 第 7 单元Errors like a pro
Wrap, inspect and design errors so failures explain themselves.
0 / 48 第 8 单元Generics
Write one function or type that works for many types, safely.
0 / 49 第 9 单元Concurrency
Goroutines, channels, select, mutexes and context: Go's superpower.
0 / 610 第 10 单元Web services
Serve HTTP, speak JSON, add middleware and build a REST API.
0 / 511 第 11 单元Databases
Talk to PostgreSQL from Go: queries, transactions and safety.
0 / 412 第 12 单元Production Go
Testing, benchmarks, project layout, profiling and shipping.
0 / 7