declscope: a linter that brings file-scoped private to Go's flat packages
DEV Community
declscope: a linter that brings file-scoped private to Go's flat packages
Go has two levels of visibility, and the lower one covers the whole package. A convention fills the gap, and it lives only in the heads of the people who wrote the package. An AI agent does not read heads.
0 comments
No comments yet.