Austin Schuh | e89fa2d | 2019-08-14 20:24:23 -0700 | [diff] [blame^] | 1 | // Code generated by the FlatBuffers compiler. DO NOT EDIT. |
| 2 | |
| 3 | package NamespaceB |
| 4 | |
| 5 | import "strconv" |
| 6 | |
| 7 | type EnumInNestedNS int8 |
| 8 | |
| 9 | const ( |
| 10 | EnumInNestedNSA EnumInNestedNS = 0 |
| 11 | EnumInNestedNSB EnumInNestedNS = 1 |
| 12 | EnumInNestedNSC EnumInNestedNS = 2 |
| 13 | ) |
| 14 | |
| 15 | var EnumNamesEnumInNestedNS = map[EnumInNestedNS]string{ |
| 16 | EnumInNestedNSA: "A", |
| 17 | EnumInNestedNSB: "B", |
| 18 | EnumInNestedNSC: "C", |
| 19 | } |
| 20 | |
| 21 | var EnumValuesEnumInNestedNS = map[string]EnumInNestedNS{ |
| 22 | "A": EnumInNestedNSA, |
| 23 | "B": EnumInNestedNSB, |
| 24 | "C": EnumInNestedNSC, |
| 25 | } |
| 26 | |
| 27 | func (v EnumInNestedNS) String() string { |
| 28 | if s, ok := EnumNamesEnumInNestedNS[v]; ok { |
| 29 | return s |
| 30 | } |
| 31 | return "EnumInNestedNS(" + strconv.FormatInt(int64(v), 10) + ")" |
| 32 | } |