v2/examples/pointuh/testdata/simple/file.go
raw| 1 | package simple |
| 2 | |
| 3 | type ExportedString string |
| 4 | |
| 5 | type ExportedInt int |
| 6 | |
| 7 | type ExportedStruct struct { |
| 8 | I int |
| 9 | PI *int |
| 10 | S string |
| 11 | PS *string |
| 12 | AI AliasInt |
| 13 | AS AliasStruct |
| 14 | } |
| 15 | |
| 16 | type privateString string |
| 17 | |
| 18 | type privateInt int |
| 19 | |
| 20 | type privateStruct struct { |
| 21 | i int |
| 22 | pi *int |
| 23 | s string |
| 24 | ps *string |
| 25 | } |
| 26 | |
| 27 | type AliasInt = int |
| 28 | |
| 29 | type UnderlyingStruct struct { |
| 30 | } |
| 31 | type AliasStruct = UnderlyingStruct |
| 32 | |
| 33 | type AliasUnused = int |