# golang/example

Go example projects

Repository: https://github.com/golang/example
Canonical: https://ross.abutalabs.com/products/example
Language: Go
License: BSD-3-Clause
License Family: permissive
Last push: 2026-07-31T00:42:38+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 95, release rhythm 35, longevity 100
- inputs: {"age_days": 4420, "days_push": 34, "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 2970, forks 1008 (observed 2026-08-28T04:07:32.735263+00:00)

## What it is
A collection of small Go programs and libraries maintained by the Go team that demonstrate the language, standard libraries, and tools. It includes example web servers, CLI programs, and tutorials such as the go/types type-checker guide.

## Use cases
- learn go programming basics
- example of building a web server in go
- how to write table-driven tests in go
- learn go/types type checker
- example go project structure with library and command
- learn command-line flags and logging in go

## When to choose
- you are learning Go and want idiomatic examples from the official Go team
- you need a starting template for a small Go web server or CLI tool
- you want a tutorial on program analysis with go/types

## When to avoid
- you need production-ready code or a maintained library dependency
- you want comprehensive coverage of advanced Go topics like concurrency patterns or generics
- you need a structured course rather than scattered example programs

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: developer-tools, http-server, templating, testing, logging
- domain: developer-tools, tutorials, programming-languages
- platform: go, cross-platform
- tags: go-examples, tutorial, sample-code, standard-library

## Member repositories
- golang/example (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:32.735263+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-30T07:31:44.185586+00:00, confidence not recorded.
  - readme: https://github.com/golang/example (fetched 2026-08-28T04:07:32.735263+00:00, sha 62de44e6f5fd)
- Data as of 2026-08-30T08:39:29.467469+00:00.
