Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/gofmt: allow multiple rewrite rules #8597

Closed
OneOfOne opened this issue Aug 26, 2014 · 2 comments
Closed

cmd/gofmt: allow multiple rewrite rules #8597

OneOfOne opened this issue Aug 26, 2014 · 2 comments

Comments

@OneOfOne
Copy link
Contributor

@OneOfOne OneOfOne commented Aug 26, 2014

This way if we want to do multiple rewrites to a file we don't have to call gofmt
multiple times.


Please check the CL: https://golang.org/cl/134920043
@ianlancetaylor
Copy link
Contributor

@ianlancetaylor ianlancetaylor commented Aug 26, 2014

Comment 1:

Labels changed: added repo-main, release-none.

@griesemer
Copy link
Contributor

@griesemer griesemer commented Oct 1, 2014

Comment 2:

The fact that gofmt supports -r is great but it's also a historic artifact. At this
point it doesn't make sense to add more functionality in that direction. Instead, the
rewrite feature should probably be moved into a separate tool that is more powerful.

Status changed to WorkingAsIntended.

@golang golang locked and limited conversation to collaborators Jun 25, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.