@@ -117,9 +117,27 @@ public AbstractGoCodegen() {
117
117
instantiationTypes.put("map", "GoMap");*/
118
118
119
119
typeMapping .clear ();
120
+ typeMapping .put ("integer+int8" , "int8" );
121
+ typeMapping .put ("integer+uint8" , "uint8" );
122
+ typeMapping .put ("integer+int16" , "int16" );
123
+ typeMapping .put ("integer+uint16" , "uint16" );
120
124
typeMapping .put ("integer" , "int32" );
125
+ typeMapping .put ("integer+int32" , "int32" );
126
+ typeMapping .put ("integer+int64" , "int64" );
127
+ typeMapping .put ("integer+uint32" , "uint32" );
128
+ typeMapping .put ("integer+uint64" , "uint64" );
121
129
typeMapping .put ("long" , "int64" );
130
+ typeMapping .put ("number+int8" , "int8" );
131
+ typeMapping .put ("number+uint8" , "uint8" );
132
+ typeMapping .put ("number+int16" , "int16" );
133
+ typeMapping .put ("number+uint16" , "uint16" );
134
+ typeMapping .put ("number+int32" , "int32" );
135
+ typeMapping .put ("number+int64" , "int64" );
136
+ typeMapping .put ("number+uint32" , "uint32" );
137
+ typeMapping .put ("number+uint64" , "uint64" );
122
138
typeMapping .put ("number" , "float32" );
139
+ typeMapping .put ("number+float32" , "float32" );
140
+ typeMapping .put ("number+float64" , "float64" );
123
141
typeMapping .put ("float" , "float32" );
124
142
typeMapping .put ("double" , "float64" );
125
143
typeMapping .put ("decimal" , "float64" );
0 commit comments