bind/testdata/vars.go
raw| 1 | package vars |
| 2 | |
| 3 | var ( |
| 4 | AString = "String" |
| 5 | |
| 6 | AnInt = -1 |
| 7 | AnInt8 int8 = 8 |
| 8 | AnInt16 int16 = 16 |
| 9 | AnInt32 int32 = 32 |
| 10 | AnInt64 int64 = 64 |
| 11 | |
| 12 | AFloat = -2.0 |
| 13 | AFloat32 float32 = 32.0 |
| 14 | AFloat64 float64 = 64.0 |
| 15 | |
| 16 | ABool = true |
| 17 | |
| 18 | AStructPtr *S |
| 19 | AnInterface I |
| 20 | ) |
| 21 | |
| 22 | type S struct{} |
| 23 | |
| 24 | type I interface{} |