Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/gofmt: gofmt doesn't ignore directories prefixed with _ #8091
go test ./... ignores directories prefixed with _. This is convenient and seems like a reasonable rule of thumb. gofmt -w . does *not* honor this "rule" With the ascendance of Godeps there are now Godeps/_workspace folders vendoring dependencies all over the place. Having gofmt -w . rewrite my dependencies is painful. Any change the "ignore _" rule could be ported over to gofmt sometime soon? Would be happy to work on a pull request for this.