forked from BigfootDev/flatbuffers
Add EnumNames to Go code
Tested: on Darwin
This commit is contained in:
@@ -8,3 +8,11 @@ const (
|
||||
AnyTestSimpleTableWithEnum = 2
|
||||
AnyMyGame_Example2_Monster = 3
|
||||
)
|
||||
|
||||
var EnumNamesAny = map[int]string{
|
||||
AnyNONE:"NONE",
|
||||
AnyMonster:"Monster",
|
||||
AnyTestSimpleTableWithEnum:"TestSimpleTableWithEnum",
|
||||
AnyMyGame_Example2_Monster:"MyGame_Example2_Monster",
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user