bytexlee/go-patterns resource
Golang 设计模式 observed · 2026-08-28
Health v2 · maintenance only
65/100
- Activity 72
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2563
- days_rel: n/a
- days_push: 173
- n_releases_24m: 0
Adoption not part of the score
1092 stars · 182 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A curated collection of Go (Golang) design pattern implementations covering creational, structural, behavioral, and synchronization patterns. Each pattern is presented in its own directory with idiomatic Go examples leveraging struct composition and implicit interface implementation.
Use cases
- learn design patterns in go
- see how singleton pattern is implemented in golang
- example of observer pattern in go
- understand go struct composition patterns
- reference for go concurrency patterns like semaphore and pubsub
- study builder and factory patterns with go code
When to choose
- you are learning Go and want idiomatic examples of classic design patterns
- you need quick reference implementations of patterns like decorator, proxy, or strategy in Go
- you want to see how Go's interfaces and struct embedding replace traditional OOP inheritance
When to avoid
- you need a production-ready pattern library with tested, importable packages
- you need comprehensive documentation or English-language explanations
- you need patterns beyond the ~27 covered here or advanced enterprise architecture guidance
Facets
learning-resource · maturity stable
developer-tools developer-tools tutorials programming-languages go design-patterns golang creational-patterns structural-patterns behavioral-patterns concurrency-patterns code-examples algorithms
1 source
- readme: https://github.com/bytexlee/go-patterns · fetched 2026-08-28 · 75df07f44cfb
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| bytexlee/go-patterns | main | 65 |
For agents
markdown · JSON · MCP: product_card(name="bytexlee/go-patterns")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem