github.com/aykevl/tinygo@v0.5.0/testdata/reflect.txt (about) 1 matching types 2 true 3 false 4 false 5 false 6 false 7 false 8 9 values of interfaces 10 reflect type: bool 11 bool: true 12 reflect type: bool 13 bool: false 14 reflect type: int 15 int: 2000 16 reflect type: int 17 int: -2000 18 reflect type: uint 19 uint: 2000 20 reflect type: int8 21 int: -3 22 reflect type: int8 23 int: 3 24 reflect type: uint8 25 uint: 200 26 reflect type: int16 27 int: -300 28 reflect type: int16 29 int: 300 30 reflect type: uint16 31 uint: 50000 32 reflect type: int32 33 int: 7340032 34 reflect type: int32 35 int: -7340032 36 reflect type: uint32 37 uint: 7340032 38 reflect type: int64 39 int: 9895604649984 40 reflect type: int64 41 int: -9895604649984 42 reflect type: uint64 43 uint: 9895604649984 44 reflect type: uintptr 45 uint: 12345 46 reflect type: float32 47 float: +3.140000e+000 48 reflect type: float64 49 float: +3.140000e+000 50 reflect type: complex64 51 complex: (+1.200000e+000+3.000000e-001i) 52 reflect type: complex128 53 complex: (+1.300000e+000+4.000000e-001i) 54 reflect type: int 55 int: 32 56 reflect type: string 57 string: foo 3 58 reflect type: uint8 59 uint: 102 60 reflect type: uint8 61 uint: 111 62 reflect type: uint8 63 uint: 111 64 reflect type: unsafe.Pointer 65 pointer: true 66 reflect type: chan 67 chan: int 68 nil: true 69 reflect type: ptr 70 pointer: true int 71 nil: false 72 reflect type: int settable=true 73 int: 0 74 reflect type: ptr 75 pointer: true interface 76 nil: false 77 reflect type: interface settable=true 78 interface 79 nil: true 80 reflect type: ptr 81 pointer: true int 82 nil: false 83 reflect type: int settable=true 84 int: 42 85 reflect type: slice 86 slice: uint8 3 3 87 pointer: true 88 nil: false 89 indexing: 0 90 reflect type: uint8 settable=true 91 uint: 1 92 indexing: 1 93 reflect type: uint8 settable=true 94 uint: 2 95 indexing: 2 96 reflect type: uint8 settable=true 97 uint: 3 98 reflect type: slice 99 slice: uint8 2 5 100 pointer: true 101 nil: false 102 indexing: 0 103 reflect type: uint8 settable=true 104 uint: 0 105 indexing: 1 106 reflect type: uint8 settable=true 107 uint: 0 108 reflect type: slice 109 slice: int32 2 2 110 pointer: true 111 nil: false 112 indexing: 0 113 reflect type: int32 settable=true 114 int: 3 115 indexing: 1 116 reflect type: int32 settable=true 117 int: 5 118 reflect type: slice 119 slice: string 2 2 120 pointer: true 121 nil: false 122 indexing: 0 123 reflect type: string settable=true 124 string: xyz 3 125 reflect type: uint8 126 uint: 120 127 reflect type: uint8 128 uint: 121 129 reflect type: uint8 130 uint: 122 131 indexing: 1 132 reflect type: string settable=true 133 string: Z 1 134 reflect type: uint8 135 uint: 90 136 reflect type: slice 137 slice: uint8 0 0 138 pointer: false 139 nil: true 140 reflect type: slice 141 slice: uint8 0 0 142 pointer: true 143 nil: false 144 reflect type: slice 145 slice: float32 2 2 146 pointer: true 147 nil: false 148 indexing: 0 149 reflect type: float32 settable=true 150 float: +1.000000e+000 151 indexing: 1 152 reflect type: float32 settable=true 153 float: +1.320000e+000 154 reflect type: slice 155 slice: float64 2 2 156 pointer: true 157 nil: false 158 indexing: 0 159 reflect type: float64 settable=true 160 float: +1.000000e+000 161 indexing: 1 162 reflect type: float64 settable=true 163 float: +1.640000e+000 164 reflect type: slice 165 slice: complex64 2 2 166 pointer: true 167 nil: false 168 indexing: 0 169 reflect type: complex64 settable=true 170 complex: (+1.000000e+000+0.000000e+000i) 171 indexing: 1 172 reflect type: complex64 settable=true 173 complex: (+1.640000e+000+3.000000e-001i) 174 reflect type: slice 175 slice: complex128 2 2 176 pointer: true 177 nil: false 178 indexing: 0 179 reflect type: complex128 settable=true 180 complex: (+1.000000e+000+0.000000e+000i) 181 indexing: 1 182 reflect type: complex128 settable=true 183 complex: (+1.128000e+000+4.000000e-001i) 184 reflect type: array 185 array 186 reflect type: func 187 func 188 nil: true 189 reflect type: func 190 func 191 nil: false 192 reflect type: map 193 map 194 nil: true 195 reflect type: map 196 map 197 nil: false 198 reflect type: struct 199 struct 200 reflect type: struct 201 struct 202 203 sizes: 204 int8 1 205 int16 2 206 int32 4 207 int64 8 208 uint8 1 209 uint16 2 210 uint32 4 211 uint64 8 212 float32 4 213 float64 8 214 complex64 8 215 complex128 16