mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-17 01:26:45 +00:00
Add EnumNames to Go code
Tested: on Darwin
This commit is contained in:
@@ -7,3 +7,10 @@ const (
|
||||
ColorGreen = 2
|
||||
ColorBlue = 8
|
||||
)
|
||||
|
||||
var EnumNamesColor = map[int]string{
|
||||
ColorRed:"Red",
|
||||
ColorGreen:"Green",
|
||||
ColorBlue:"Blue",
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user