You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
group internal/... import paths as standard library
The Go standard library includes internal packages such as
internal/testenv, and even though such packages cannot be imported
directly by users, they are still imported by std packages like os
and should be grouped with the rest of the std packages.
I can't recall what my logic was for excluding internal/ prefixes
from std grouping, but the logic no longer makes any sense to me.
This makes gofumpt less grumpy with how Go groups its own std imports.
Fixes#307.
0 commit comments