f_consts_ <<
go_package() <<
+ render_includes() <<
go_autogen_comment();
f_const_values_ << endl << "func init() {" << endl;
indent(out) << value->get_integer();
} else if (type->is_struct() || type->is_xception()) {
out <<
- "&" << publicize(type->get_name()) << "{";
+ "&" << publicize(type_name(type)) << "{";
indent_up();
const vector<t_field*>& fields = ((t_struct*)type)->get_members();
vector<t_field*>::const_iterator f_iter;
include "ThriftTest.thrift"
+const ThriftTest.UserId USERID = 42
+const ThriftTest.MapType MAPCONSTANT = {'hello':{}, 'goodnight':{}}
+
struct testStruct {
1: list<ThriftTest.Numberz> listNumbers
}