finds.dev← search

// the find

hwholiday/learning_tools

★ 4,295 · Go · Apache-2.0 · updated Dec 2024

Go 学习、Go 进阶、Go 实用工具类、Go DDD 项目落地、Go-kit 、Go-Micro 、Go 推送平台、微服务实践

A monorepo of Go learning examples covering microservices, DDD, cryptography, and common infrastructure patterns. It's a personal knowledge base turned public — each directory is a standalone topic with working code and corresponding blog posts in Chinese. Aimed at intermediate Go developers who want to see how pieces fit together rather than read docs.

The go-kit progression (v1–v11) is genuinely useful — it builds incrementally from basic HTTP to gRPC, JWT, rate limiting, circuit breaking, and distributed tracing in a way that's easy to follow. The DDD auth2 example is one of the more honest DDD-in-Go implementations out there: it actually separates domain, application, and infrastructure layers instead of just renaming folders. The encryption section covers X3DH and the Double Ratchet algorithm, which is rare in Go tutorial repos — if you're building an E2E-encrypted messaging system, this is a decent starting point. The hconfig pluggable config reader (etcd/k8s/apollo backends) is a practical, self-contained tool you could actually lift into a project.

The repo hasn't been touched in seven months and several dependencies are well behind current versions — the go-micro examples in particular are likely broken given how many breaking changes that project has gone through. The ddd-project-example skeleton is almost entirely .gitignore files with no actual code, which makes the folder structure a promise rather than a working reference. Tests are sparse and largely absent outside a few happy-path unit tests; nothing here would give you confidence before running it in anger. Most explanatory content lives on an external blog in Chinese, so if hwholiday.com goes down (or you don't read Chinese), large chunks of context disappear.

View on GitHub → Homepage ↗

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →