# thockin/go-build-template

A Makefile/Dockerfile example for Go projects.

Repository: https://github.com/thockin/go-build-template
Canonical: https://ross.abutalabs.com/products/go-build-template
Language: Makefile
License: Apache-2.0
License Family: permissive
Last push: 2026-07-28T00:51:40+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 94, release rhythm 35, longevity 100
- inputs: {"age_days": 3633, "days_push": 37, "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 3331, forks 425 (observed 2026-08-28T04:07:56.608124+00:00)

## What it is
A skeleton Go project template providing a Makefile and Dockerfile that encode best-practice build, test, lint, and container-image workflows. It uses Docker buildx to build binaries and multi-architecture container images with manifest lists.

## Use cases
- scaffold a new Go application with a production-grade build setup
- build multi-architecture Docker images for a Go binary
- standardize make-based build, test, and lint targets across Go projects
- publish container manifest lists to a registry
- embed golangci-lint and go-licenses tooling in a Go build
- compute image version tags from git tags

## When to choose
- starting a new Go project and wanting battle-tested Makefile/Dockerfile conventions
- needing reproducible containerized builds with multi-arch support
- wanting versioning derived from git tags with dirty-state detection

## When to avoid
- your project uses Bazel or another build system already
- you develop on Windows or macOS without Linux/Docker buildx support
- you need a full CI pipeline rather than local build tooling

## Facets
- artifact type: learning-resource
- maturity: stable
- function: build-tool, ci-cd, developer-tools, linter, testing
- domain: developer-tools
- platform: go, cli
- tags: makefile, dockerfile, docker-buildx, multi-arch, go-modules, project-template, container-image, golangci-lint, go-licenses, manifest-list, boilerplate, devops, containers, automation, linux, docker

## Member repositories
- thockin/go-build-template (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:56.608124+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-30T08:31:31.268097+00:00, confidence not recorded.
  - readme: https://github.com/thockin/go-build-template (fetched 2026-08-28T04:07:56.608124+00:00, sha 07121e05caf4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
