| 1 |
package defaults |
| 2 |
|
| 3 |
|
| 4 |
type Defaulted struct { |
| 5 |
|
| 6 |
Field string `json:"Field,omitempty"` |
| 7 |
|
| 8 |
OtherField int |
| 9 |
|
| 10 |
List []Item |
| 11 |
|
| 12 |
Sub *SubStruct |
| 13 |
|
| 14 |
OtherSub SubStruct |
| 15 |
|
| 16 |
|
| 17 |
Map map[string]Item |
| 18 |
|
| 19 |
|
| 20 |
LocalSymbolReference string `json:"localSymbolReference,omitempty"` |
| 21 |
|
| 22 |
FullyQualifiedSymbolReference string `json:"fullyQualifiedSymbolReference,omitempty"` |
| 23 |
|
| 24 |
ExternalSymbolReference string `json:"externalSymbolReference,omitempty"` |
| 25 |
|
| 26 |
PointerConversionSymbolReference *DefaultedItem `json:"pointerConversionSymbolReference,omitempty"` |
| 27 |
DefaultedAliasSymbolReference DefaultedItem `json:"defaultedAliasSymbolReference,omitempty"` |
| 28 |
} |
| 29 |
|
| 30 |
const ConstantValue string = "SymbolConstant" |
| 31 |
|
| 32 |
|
| 33 |
type DefaultedItem string |
| 34 |
|
| 35 |
|
| 36 |
type Item string |
| 37 |
|
| 38 |
|
| 39 |
type SubStruct struct { |
| 40 |
S string |
| 41 |
|
| 42 |
I int `json:"I,omitempty"` |
| 43 |
} |