# senghoo/golang-design-pattern

设计模式 Golang实现－《研磨设计模式》读书笔记

Repository: https://github.com/senghoo/golang-design-pattern
Canonical: https://ross.abutalabs.com/products/golang-design-pattern
Language: Go
License: MIT
License Family: permissive
Last push: 2025-10-15T05:21:00+00:00

## Health v2 (maintenance only)
Score: 53/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 47, release rhythm 35, longevity 100
- inputs: {"age_days": 3826, "days_push": 322, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 9031, forks 2078 (observed 2026-08-28T04:10:27.970654+00:00)

## What it is
A collection of Go implementations of classic design patterns (creational, structural, behavioral), based on reading notes from a Chinese design patterns book. Each pattern lives in its own directory with runnable example code.

## Use cases
- learn design patterns in Go
- see Go example code for singleton or factory pattern
- study behavioral patterns like observer and strategy in Go
- reference for implementing design patterns idiomatically in Go
- reading notes companion for design patterns book

## When to choose
- you want concise, runnable Go examples for all 23 classic GoF-style patterns
- you are learning Go and design patterns together
- you need a quick reference of pattern implementations

## When to avoid
- you need production-ready pattern libraries or frameworks
- you want deep theoretical explanations rather than code examples
- you need patterns beyond the classic set or advanced architectural guidance

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: developer-tools, documentation
- domain: programming-languages, tutorials
- platform: go, cross-platform
- tags: design-patterns, golang, study-notes, code-examples, software-architecture, algorithms

## Member repositories
- senghoo/golang-design-pattern (main) score 53

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:27.970654+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:24:05.997993+00:00, confidence not recorded.
  - readme: https://github.com/senghoo/golang-design-pattern (fetched 2026-08-28T04:10:27.970654+00:00, sha c347b5fffee0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
