File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed
Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ public abstract class AbstractTypeMapper
1515{
1616 protected static final String STRING = "string" ;
1717 protected static final String NUMBER = "int" ;
18+ protected static final String LONG = "long" ;
1819 protected static final String BOOLEAN = "bool" ;
1920
2021 protected Map <String , String > typeMap ;
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ public GoTypeMapper()
1717 {
1818 typeMap .put (STRING , "string" );
1919 typeMap .put (NUMBER , "int" );
20+ typeMap .put (LONG , "int64" );
2021 typeMap .put (BOOLEAN , "bool" );
2122 }
2223}
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ public JavaTypeMapper()
1717 {
1818 typeMap .put (STRING , "String" );
1919 typeMap .put (NUMBER , "int" );
20+ typeMap .put (LONG , "long" );
2021 typeMap .put (BOOLEAN , "boolean" );
2122 }
2223}
You can’t perform that action at this time.
0 commit comments