fix linting
This commit is contained in:
parent
c0ce8a9414
commit
1192e457ff
|
@ -71,6 +71,9 @@ func main() {
|
||||||
// execute template into buffer
|
// execute template into buffer
|
||||||
deprecated := &executeOpts{DeprecatedOpts: allDeprecatedOpts}
|
deprecated := &executeOpts{DeprecatedOpts: allDeprecatedOpts}
|
||||||
err = deprecatedOptsTemplate.Execute(&buf, deprecated)
|
err = deprecatedOptsTemplate.Execute(&buf, deprecated)
|
||||||
|
if err != nil {
|
||||||
|
panic(err)
|
||||||
|
}
|
||||||
// we've written unformatted go code to the file. now we have to format it.
|
// we've written unformatted go code to the file. now we have to format it.
|
||||||
out, err := format.Source(buf.Bytes())
|
out, err := format.Source(buf.Bytes())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue