RepositoryGoCNChina
GE

geektutu/7days-golang

7 days golang programs from scratch (web framework Gee, distributed cache GeeCache, object relational mapping ORM framework GeeORM, rpc framework GeeRPC etc) 7天用Go动手写/从零实现系列

17.0kstars
2.6kforks
36issues
5views

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: starter-project

#1 Repository Của Tuần

1
TINIX TRENDING·Chủ đề: scratch

#1 Repository Của Tháng

1
TINIX TRENDING·Chủ đề: learning

#1 Repository Của Tháng

🚀 7 dự án Go viết từ zero trong 7 ngày — từ web framework tới distributed cache

7days-golang — bộ sưu tập 7 dự án Go viết từ zero: Gee (web framework), GeeCache (distributed cache), GeeORM (ORM), GeeRPC (RPC framework), và WASM demo.

7days-golang là kho mã nguồn mở do geektutu phát triển, hướng dẫn chi tiết cách xây dựng 5 dự án Go từ con số 0 trong vòng 7 ngày. Mỗi dự án đều được chia thành 7 bài học ngày, kèm theo giải thích lý thuyết và code nguồn minh họa. Phù hợp cho người mới học Go muốn hiểu sâu kiến trúc các hệ thống phổ biến.

✨ Điểm nổi bật

  • Gee - Web Framework: Mô phỏng gin, hỗ trợ router Trie, middleware, template, panic recover.
  • GeeCache - Distributed Cache: Mô phỏng groupcache, có LRU, consistent hash, single-flight, protobuf giao tiếp.
  • GeeORM - ORM Framework: Mô phỏng gorm/xorm, hỗ trợ mapping, chain operation, hooks, transaction, migrate.
  • GeeRPC - RPC Framework: Dựa trên net/rpc, thêm protocol exchange, service registry, load balance, timeout.
  • WebAssembly Demo: Ví dụ Go WASM tương tác DOM, callback, register functions.
  • Miễn phí & nguồn mở: MIT License, code rõ ràng, dễ đọc, dễ học.
  • Tài liệu tiếng Việt & Anh: README song ngữ, blog hướng dẫn chi tiết từng bài.
  • Cấu trúc rõ ràng: Mỗi dự án chia thành 7 thư mục ngày, dễ dàng tìm hiểu.

💡 Vì sao đáng chú ý

Không phải là tutorial lý thuyết, mà là cách bạn tự tay xây dựng lại các framework nổi tiếng bằng Go. Mỗi dòng code đều có giải thích, giúp bạn hiểu tại sao gin lại nhanh, tại sao groupcache lại phân phối tốt, hoặc tại sao ORM lại phức tạp.

Phù hợp cho dev muốn nâng cấp kỹ năng Go, hiểu sâu kiến trúc backend, hoặc chuẩn bị cho phỏng vấn technical. Chỉ cần 7 tuần (7 dự án), bạn sẽ có nền tảng vững chắc.


#Go #Golang #WebFramework #DistributedCache #ORM #RPC #TiniX

Similar Projects

Discover other similar projects and AI models.

RepositoryGo
avelino/awesome-go

A curated list of awesome Go frameworks, libraries and software

197.2k
Dec 2, 2026
RepositoryGo
ollama/ollama

Get up and running with Inkling, Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

188.9k
Dec 2, 2026
RepositoryPython
practical-tutorials/project-based-learning

Curated list of project-based tutorials

290.9k
Nov 30, 2026
RepositoryGo
golang/go

The Go programming language

140.0k
Dec 1, 2026
RepositoryPython
Significant-Gravitas/AutoGPT

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

188.2k
Nov 29, 2026
RepositoryGo
nektos/act

Run your GitHub Actions locally 🚀

72.9k
Dec 1, 2026
RepositoryGo
moby/moby

The Moby Project - a collaborative project for the container ecosystem to assemble container-based systems

72.3k
Nov 26, 2026
RepositoryGo
traefik/traefik

The Cloud Native Application Proxy

65.9k
Dec 2, 2026
RepositoryGo
pocketbase/pocketbase

Open Source realtime backend in 1 file

61.6k
Oct 26, 2026