mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 04:04:19 +00:00
As recommended by https://golang.org/pkg/cmd/go/internal/generate/: To convey to humans and machine tools that code is generated, generated source should have a line early in the file that matches the following regular expression (in Go syntax): ^// Code generated .* DO NOT EDIT\.$
18 lines
269 B
Go
18 lines
269 B
Go
// Code generated by the FlatBuffers compiler. DO NOT EDIT.
|
|
|
|
package Example
|
|
|
|
type Color = int8
|
|
const (
|
|
ColorRed Color = 1
|
|
ColorGreen Color = 2
|
|
ColorBlue Color = 8
|
|
)
|
|
|
|
var EnumNamesColor = map[Color]string{
|
|
ColorRed:"Red",
|
|
ColorGreen:"Green",
|
|
ColorBlue:"Blue",
|
|
}
|
|
|