# adonovan/gopl.io

Example programs from "The Go Programming Language"

Repository: https://github.com/adonovan/gopl.io
Canonical: https://ross.abutalabs.com/products/goplio
Homepage: http://www.gopl.io
Language: Go
License Family: other
Last push: 2026-06-30T02:41:17+00:00

## Health v2 (maintenance only)
Score: 73/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 90, release rhythm 35, longevity 100
- inputs: {"age_days": 4230, "days_push": 64, "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 8037, forks 2798 (observed 2026-08-28T04:10:12.036657+00:00)

## What it is
The official downloadable example programs accompanying the book 'The Go Programming Language' by Donovan and Kernighan. Each chapter's examples are organized as runnable Go programs fetched via the go tool.

## Use cases
- learn Go programming from book examples
- run companion code for The Go Programming Language book
- study Go concurrency with goroutines and channels
- see idiomatic Go example programs
- follow along with gopl.io book exercises

## When to choose
- you are reading the gopl.io book and want its runnable source code
- you want well-crafted idiomatic Go examples covering the whole language
- you want to study Go concurrency and interfaces with real code

## When to avoid
- you need a production library or framework
- you want a standalone Go tutorial without the book
- you need permissively licensed code - examples are CC BY-NC-SA

## Facets
- artifact type: learning-resource
- maturity: stable
- function: developer-tools, concurrency, testing
- domain: programming-languages, tutorials, developer-tools
- platform: go, cross-platform, cli
- tags: go-book-examples, gopl, example-code, textbook-companion

## Member repositories
- adonovan/gopl.io (main) score 73

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:12.036657+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:31:29.744936+00:00, confidence not recorded.
  - readme: https://github.com/adonovan/gopl.io (fetched 2026-08-28T04:10:12.036657+00:00, sha f19d999e81b8)
  - homepage: http://www.gopl.io (fetched 2026-08-29T08:29:07.831488+00:00, sha 08bb9d73e424)
- Data as of 2026-08-30T08:39:29.467469+00:00.
