Canonical guidance

Use when

Avoid

Preferred pattern

//go:build linux

package poller

Anti-pattern

Explanation: This anti-pattern is tempting when feature flags feel compile-time friendly, but it makes builds harder to reason about and test.

Why

Related pages

Sources