I\'m running go vet on my CI tool, and started getting the error:
composite literal uses unkeyed fields
Because I\'m instantiating
If you are using VS code, you have to manually set the flag under settings
settings > Extensions > Go
Scroll down to "Vet Flags" section
Add Item and add the flag
-composites=false .
Click ok.
Save one of your files again or restart VS code to see the effect.