CodeGym/課程/Go 課程

Go 課程

透過實作成為 Go 開發者。從 "Hello World" 到具備測試與 CI/CD 的正式環境微服務。64 個關卡、700+ 個任務,支援即時驗證。打造 REST API、處理並行、測試與效能分析——每個任務都讓你更接近真實工作。最直接通往「薪資高 40%」職涯的路徑。
4.9
500+ 則評價
30K 位畢業生建立 IT 職涯
了解更多
Detailed training program
  • 命令與第一個程式
  • int 與 string 型別介紹。鍵盤輸入
  • 條件運算子
  • 迴圈
  • 安裝 IDE 與 JavaRush 外掛
  • 浮點數與字元
  • 陣列
  • Slices
  • 函式
  • 數學與 enum 操作
  • 進階字串操作
  • Maps 與集合基礎
  • 指標與記憶體管理
  • Go 的錯誤處理
  • 日期與時間處理
  • Structs 與 composition
  • Go 的 methods 與封裝
  • Interfaces:基礎與 contracts
  • 透過 interfaces 與 type assertion 實現多型
  • DTO 與 Record-like 結構(Go-way)
  • 標準集合與 container 套件
  • 集合排序與搜尋
  • Generics:基礎(Go 1.18+)
  • 檔案與目錄操作
  • JSON、XML 與資料序列化
  • 並行入門:goroutines
  • Channels:建立、傳送與接收資料
  • Buffered 與 unbuffered channels
  • Select 與多個 channels 協作
  • 並行 patterns:worker pool、pipeline
  • 同步:sync.Mutex、sync.RWMutex、sync.WaitGroup
  • Atomic operations 與 sync/atomic
  • Race conditions 與預防
  • Go modules:建立與相依性管理
  • 使用 go.mod 與 go.sum
  • 版本管理與 module replacement
  • 測試基礎:testing 套件
  • Table-driven tests 與 subtests
  • Benchmarks 與 profiling
  • Mocking 與 integration tests
  • Context 套件:管理操作生命週期
  • Context 與操作取消
  • Timers、tickers 與延遲執行
  • 並行程式碼的 profiling 與 tracing
  • 網路程式設計:TCP、UDP
  • HTTP 操作:server 與 client
  • REST API、JSON 與 Middleware
  • WebSockets 與即時通訊
  • RPC 與 gRPC
  • 安全、驗證、OAuth2
  • 與其他語言與系統整合
  • Go 測試:基礎
  • 測試:mocks、integration tests
  • SQL 與 NoSQL 資料庫操作
  • 架構 patterns 與 Go-way 原則
  • Go 程式碼產生
  • Logging 與監控:現代實務(slog)
  • 效能:profiling 與最佳化
  • 文件撰寫與套件發布
  • CI/CD:建置與部署 Go 應用
  • Go 記憶體內部機制與 reflect
  • Modules、版本管理與 multi-module 專案
  • Go 1.20–1.24 有哪些新內容與實驗性套件
  • Go 1.25+ 有哪些新內容與現代實務
  • Goroutines and WaitGroup
  • Channel Basics
  • select, Timeouts and Goroutine Leaks
  • Synchronization (sync, Mutex, atomic)
  • Worker Pool
  • Advanced context
  • Race Detector and Benchmarks (pprof)
  • Course Wrap-Up and Next Steps
360+
課程
1000+
練習題
72
測驗
此外:
  • 即時任務驗證
  • AI 程式碼驗證器
  • IDE 外掛
  • WebIDE
  • 遊戲化
  • 激勵講座