pomack / thrift4go

Apache Thrift for the Go Language
129 stars 23 forks source link

Bulk apply "gofmt" to non-generated support code. #20

Closed matttproud closed 12 years ago

matttproud commented 12 years ago

The base library code for thrift4go is stylistically incompliant with upstream Go. Before making more fixes to the library, I want to bring conformance first.

This is merely a result from performing a

for i in *.go ; do
  gofmt -w "${i}"
done
pomack commented 12 years ago

I've always preferred gofmt -tabs=false -tabwidth=2 -comments=true -w=true *.go but since others are actually using the code, going to standard gofmt makes sense.