| // Copyright 2009 The Go Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style |
| // license that can be found in the LICENSE file. |
| The gofmt program is a formatter for Go programs. |
| Without an explicit path, it processes the standard input. Given a file, |
| it operates on that file; given a directory, it operates on all .go files in |
| that directory, recursively. (Files starting with a period are ignored.) |
| just list files whose formatting differs from gofmt's; generate no other output |
| if set, overwrite each input file with its output. |
| align with spaces instead of tabs. |
| print comments; if false, all comments are elided from the output. |