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
This check only triggers if the previous line follows the , err := pattern - note how it requires the token :=, it doesn't accept =. I agree that that's an unnecessary restriction, and we should make the formatter slightly more aggressive.
If my code like this
and I run
gofumpt -l -w .
, my expected result is like thisbut the result is like the first code snippet.
How do I achieve the results I expect?
The text was updated successfully, but these errors were encountered: