-
-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
enhancementNew feature or requestNew feature or request
Description
In strict mode, the linter will disallow var-based instantiations of structs with required fields. (Pointers would be allowed.) The argument for that being that with var x Foo is equivalent to x := Foo{}, and that's not allowed if there are any required fields.
This would be opt-in.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request