| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | cmd/gofmt: make test files self-describing | Robert Griesemer | 2014-08-21 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | 1) Interpret a comment of the form //gofmt <flags> in test files to drive the respective gofmt command. Eliminates the need to enumerate all test files in the test harness. 2) Added -update flag to make it easier to update test cases. LGTM=josharian R=golang-codereviews, josharian CC=golang-codereviews https://golang.org/cl/130440043 | ||||
| * | gofmt: accept program fragments on standard input | Russ Cox | 2011-09-12 | 1 | -0/+3 |
| This makes it possible to grab a block of code in an editor and pipe it through gofmt, instead of having to pipe in the entire file. R=gri CC=golang-dev https://golang.org/cl/4973074 | |||||
