Currently, gofumpt has a rule of "Single var declarations should not be grouped with parentheses". This seems like a sensible rule.
However, doesn't the same logic also apply to import statements?
For example, using a modified version of the code in the README.md for the aforementioned rule:
import (
"github.com/foo/bar"
)
import "github.com/foo/bar"
Currently, gofumpt has a rule of "Single var declarations should not be grouped with parentheses". This seems like a sensible rule.
However, doesn't the same logic also apply to import statements?
For example, using a modified version of the code in the README.md for the aforementioned rule: