Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4006)

Issue 134920043: cmd/gofmt: allow multiple rewrite rules (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 7 months ago by oneofone
Modified:
9 years, 7 months ago
Reviewers:
Visibility:
Public.

Description

cmd/gofmt: allow multiple rewrite rules this patch converts -r to []string to allow multple rules to be passed to gofmt instead of having to call gofmt for each rule.

Patch Set 1 #

Patch Set 2 : diff -r 47de34bbcca11cd65f683dc7ab0d1c6f088d25f6 https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -16 lines) Patch
M src/cmd/gofmt/gofmt.go View 1 2 chunks +18 lines, -6 lines 0 comments Download
M src/cmd/gofmt/gofmt_test.go View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/cmd/gofmt/rewrite.go View 1 1 chunk +16 lines, -8 lines 0 comments Download
A src/cmd/gofmt/testdata/rewrite9.golden View 1 1 chunk +29 lines, -0 lines 0 comments Download
A src/cmd/gofmt/testdata/rewrite9.input View 1 1 chunk +29 lines, -0 lines 0 comments Download
A src/cmd/gofmt/testdata/rewrite9.input.gofmt View 1 1 chunk +29 lines, -0 lines 0 comments Download

Messages

Total messages: 2
oneofone
9 years, 7 months ago (2014-08-26 20:47:14 UTC) #1
oneofone
9 years, 7 months ago (2014-09-17 13:16:40 UTC) #2
*** Abandoned ***
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b