Rodin 0de5f54365 fix: correct drifted citation for tls.Config.Clone
crypto/tls/common.go#L925 was wrong; the Clone() method is at L996
in commit 17bd5ab8c650155dd2bd09f7005726552639eea0.

Audited all citations across all pattern .md files — only this one
had drifted. All others verified OK against the pinned golang/go commit.
2026-05-06 17:21:18 -07:00
2026-04-30 11:58:36 +00:00

Go Patterns

Idiomatic Go patterns extracted from the Go standard library source code with verified file:line citations.

Structure

  • patterns/ — Go stdlib patterns (interfaces, errors, concurrency, structs, testing, docs, style, API conventions, packages)
  • smells/ — Anti-patterns and common Go mistakes
  • changelog/ — Daily digest of merged Go PRs

Philosophy

These rules are derived from what the Go standard library actually does, not opinions or blog posts. Every pattern cites specific files and line numbers.

When unsure how to do something in Go, look at how the standard library does it.

S
Description
Go standard library and Kubernetes patterns extracted from source code study
Readme MIT 289 KiB
Languages
Markdown 100%