# monochromegane/go_design_pattern

Design patterns in Golang.

Repository: https://github.com/monochromegane/go_design_pattern
Canonical: https://ross.abutalabs.com/products/go_design_pattern
Language: Go
License Family: other
Last push: 2019-09-19T16:27:19+00:00

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

## Adoption (not part of the score)
Stars 1462, forks 187 (observed 2026-08-28T04:04:47.652787+00:00)

## What it is
A collection of classic GoF design pattern implementations written in Go, covering creational, structural, and behavioral patterns. It serves as a learning reference for applying object-oriented design patterns using Go structs and interfaces.

## Use cases
- learn design patterns in go
- see how singleton is implemented in go
- example of observer pattern in golang
- study gof patterns with go code
- understand struct-based pattern implementations in go
- reference for strategy pattern in go

## When to choose
- you are learning Go and want idiomatic examples of classic design patterns
- you want a quick reference implementation of a specific GoF pattern in Go

## When to avoid
- you need a production-ready pattern library with tests and support
- you want actively maintained code or a licensed package to import

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: developer-tools
- domain: programming-languages, tutorials, developer-tools
- platform: go
- tags: design-patterns, golang, educational, code-examples

## Member repositories
- monochromegane/go_design_pattern (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:47.652787+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-30T04:35:18.469191+00:00, confidence not recorded.
  - readme: https://github.com/monochromegane/go_design_pattern (fetched 2026-08-28T04:04:47.652787+00:00, sha d00db3225c02)
- Data as of 2026-08-30T08:39:29.467469+00:00.
