goreturns icon indicating copy to clipboard operation
goreturns copied to clipboard

Read default values of all flags from ~/.goreturns.json file

Open ilius opened this issue 5 years ago • 0 comments

Since vscode does not accept custom command / flags for goreturns, this seems the best way to add flags (for example -local in our case). Create a ~/.goreturns.json file with this template:

{
	"fragment": false,
	"printErrors": false,
	"allErrors": false,
	"removeBareReturns": false,
	"local": ""
}

Passing flags will override these values.

ilius avatar Jan 03 '20 04:01 ilius