Skip to content

Apply formatting to templates - #980

Merged
jharshman merged 1 commit into
spf13:masterfrom
jharshman:format-template
Dec 23, 2019
Merged

jharshman merged 1 commit into
spf13:masterfrom
jharshman:format-template

Conversation

@jharshman

Copy link
Copy Markdown
Collaborator

Apply Go formatting to templates

Currently, after templates are generated, gofmt has to be run against the files in order to properly format them.

Goal here is to have the output of the templates not need additional formatting to fall in line with Go standard format.

@jharshman jharshman added the kind/feature A feature request for cobra; new or enhanced behavior label Oct 19, 2019
@jharshman jharshman added this to the 1.0.0 milestone Oct 19, 2019
@jharshman

Copy link
Copy Markdown
Collaborator Author

Failing on the comparison with the "golden" files. Fixing...

@umarcor

umarcor commented Oct 20, 2019

Copy link
Copy Markdown
Contributor

Close #933
Ref #876

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/feature A feature request for cobra; new or enhanced behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants