THRIFT-2549 Generate json tag for struct members. use go.tag annotation to override the default generated tag.
Client: Go
Patch: Aleksey Pesternikov
This closes #128
diff --git a/lib/go/test/Makefile.am b/lib/go/test/Makefile.am
index 0be6cf7..43f17a1 100644
--- a/lib/go/test/Makefile.am
+++ b/lib/go/test/Makefile.am
@@ -28,6 +28,7 @@
OnewayTest.thrift \
OptionalFieldsTest.thrift \
ServicesTest.thrift \
+ GoTagTest.thrift \
TypedefFieldTest.thrift \
RefAnnotationFieldsTest.thrift
mkdir -p gopath/src
@@ -38,6 +39,7 @@
$(THRIFT) OnewayTest.thrift
$(THRIFT) OptionalFieldsTest.thrift
$(THRIFT) ServicesTest.thrift
+ $(THRIFT) GoTagTest.thrift
$(THRIFT) TypedefFieldTest.thrift
$(THRIFT) RefAnnotationFieldsTest.thrift
GOPATH=`pwd`/gopath $(GO) get code.google.com/p/gomock/gomock