Canonical guidance

Use when

Avoid

Preferred pattern

import (
	"context"
	"net/http"
)

Anti-pattern

Explanation: This is tempting because the build still passes for a while, but blank imports should represent deliberate package initialization dependencies.

Why

Related pages

Sources