declscope: a linter that brings file-scoped private to Go's flat packages
This story is from 2026-09-16. It is preserved in the archive; the latest stories are on the live feed.
This is an English version of an article I wrote in Japanese . The flat package Opinions differ, but one school in Go says: few packages, large ones. Flat packages. Go against it, and split a package just to get a boundary, and you pay for it. Import cycles , and the interfaces you write only to in…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-09-16 21:18 · DEV Community — AI
declscope: a linter that brings file-scoped private to Go's flat packages