# katzien/go-structure-examples

Examples for my talk on structuring go apps

Repository: https://github.com/katzien/go-structure-examples
Canonical: https://ross.abutalabs.com/products/go-structure-examples
Language: Go
License: MIT
License Family: permissive
Last push: 2023-05-19T02:58:09+00:00

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

## Adoption (not part of the score)
Stars 2402, forks 278 (observed 2026-08-28T04:06:43.872243+00:00)

## What it is
A collection of example Go applications demonstrating different ways to structure Go apps, accompanying Kat Zien's conference talks. It compares flat, domain-based, and hexagonal layouts, though not all examples compile.

## Use cases
- learn how to structure a go application
- compare flat vs domain-driven go project layouts
- understand hexagonal architecture in go
- find examples for organizing go web servers
- decide on folder structure for a new go project

## When to choose
- you want to learn different Go app organization patterns from talk-backed examples
- you are deciding between flat, domain, or hexagonal layouts for a Go project

## When to avoid
- you need a production-ready framework or library
- you want up-to-date guidance - the author recommends the newer app-structure-examples repo instead

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: developer-tools, web-framework
- domain: developer-tools, tutorials, web-development
- platform: go, cross-platform
- tags: project-structure, go-apps, talk-examples, architecture, hexagonal-architecture, domain-driven-design

## Member repositories
- katzien/go-structure-examples (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:43.872243+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-30T02:34:13.191651+00:00, confidence not recorded.
  - readme: https://github.com/katzien/go-structure-examples (fetched 2026-08-28T04:06:43.872243+00:00, sha d64e80f04c0b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
