blob: eeaa9c6f803323a3dee7cdaf8592a861ff8addae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
|
matching types
true
false
false
false
false
false
values of interfaces
reflect type: bool
bool: true
reflect type: bool
bool: false
reflect type: int
int: 2000
reflect type: int
int: -2000
reflect type: uint
uint: 2000
reflect type: int8
int: -3
reflect type: int8
int: 3
reflect type: uint8
uint: 200
reflect type: int16
int: -300
reflect type: int16
int: 300
reflect type: uint16
uint: 50000
reflect type: int32
int: 7340032
reflect type: int32
int: -7340032
reflect type: uint32
uint: 7340032
reflect type: int64
int: 9895604649984
reflect type: int64
int: -9895604649984
reflect type: uint64
uint: 9895604649984
reflect type: uintptr
uint: 12345
reflect type: float32
float: +3.140000e+000
reflect type: float64
float: +3.140000e+000
reflect type: complex64
complex: (+1.200000e+000+3.000000e-001i)
reflect type: complex128
complex: (+1.300000e+000+4.000000e-001i)
reflect type: int
int: 32
reflect type: string
string: foo 3
reflect type: uint8
uint: 102
reflect type: uint8
uint: 111
reflect type: uint8
uint: 111
reflect type: unsafe.Pointer
pointer: true
reflect type: chan
chan: int
nil: true
reflect type: chan
chan: int
nil: true
reflect type: ptr
pointer: true int
nil: false
reflect type: int settable=true
int: 0
reflect type: ptr
pointer: true interface
nil: false
reflect type: interface settable=true
interface
nil: true
reflect type: ptr
pointer: true int
nil: false
reflect type: int settable=true
int: 42
reflect type: ptr
pointer: true int
nil: false
reflect type: int settable=true
int: 0
reflect type: slice comparable=false
slice: uint8 3 3
pointer: true
nil: false
indexing: 0
reflect type: uint8 settable=true
uint: 1
indexing: 1
reflect type: uint8 settable=true
uint: 2
indexing: 2
reflect type: uint8 settable=true
uint: 3
reflect type: slice comparable=false
slice: uint8 2 5
pointer: true
nil: false
indexing: 0
reflect type: uint8 settable=true
uint: 0
indexing: 1
reflect type: uint8 settable=true
uint: 0
reflect type: slice comparable=false
slice: int32 2 2
pointer: true
nil: false
indexing: 0
reflect type: int32 settable=true
int: 3
indexing: 1
reflect type: int32 settable=true
int: 5
reflect type: slice comparable=false
slice: string 2 2
pointer: true
nil: false
indexing: 0
reflect type: string settable=true
string: xyz 3
reflect type: uint8
uint: 120
reflect type: uint8
uint: 121
reflect type: uint8
uint: 122
indexing: 1
reflect type: string settable=true
string: Z 1
reflect type: uint8
uint: 90
reflect type: slice comparable=false
slice: uint8 0 0
pointer: false
nil: true
reflect type: slice comparable=false
slice: uint8 0 0
pointer: true
nil: false
reflect type: slice comparable=false
slice: float32 2 2
pointer: true
nil: false
indexing: 0
reflect type: float32 settable=true
float: +1.000000e+000
indexing: 1
reflect type: float32 settable=true
float: +1.320000e+000
reflect type: slice comparable=false
slice: float64 2 2
pointer: true
nil: false
indexing: 0
reflect type: float64 settable=true
float: +1.000000e+000
indexing: 1
reflect type: float64 settable=true
float: +1.640000e+000
reflect type: slice comparable=false
slice: complex64 2 2
pointer: true
nil: false
indexing: 0
reflect type: complex64 settable=true
complex: (+1.000000e+000+0.000000e+000i)
indexing: 1
reflect type: complex64 settable=true
complex: (+1.640000e+000+3.000000e-001i)
reflect type: slice comparable=false
slice: complex128 2 2
pointer: true
nil: false
indexing: 0
reflect type: complex128 settable=true
complex: (+1.000000e+000+0.000000e+000i)
indexing: 1
reflect type: complex128 settable=true
complex: (+1.128000e+000+4.000000e-001i)
reflect type: slice comparable=false
slice: uint8 3 3
pointer: true
nil: false
indexing: 0
reflect type: uint8 settable=true
uint: 5
indexing: 1
reflect type: uint8 settable=true
uint: 3
indexing: 2
reflect type: uint8 settable=true
uint: 11
reflect type: array
array: 3 int64 24
reflect type: int64
int: 5
reflect type: int64
int: 8
reflect type: int64
int: 2
reflect type: array
array: 2 uint8 2
reflect type: uint8
uint: 3
reflect type: uint8
uint: 5
reflect type: func comparable=false
func
nil: true
reflect type: func comparable=false
func
nil: false
reflect type: map comparable=false
map
nil: true
reflect type: map comparable=false
map
nil: false
reflect type: struct
struct: 0
reflect type: struct
struct: 1
field: 0 error
tag:
embedded: true
reflect type: interface
interface
nil: true
reflect type: struct
struct: 3
field: 0 a
tag:
embedded: false
reflect type: uint8
uint: 42
field: 1 b
tag:
embedded: false
reflect type: int16
int: 321
field: 2 c
tag:
embedded: false
reflect type: int8
int: 123
reflect type: struct comparable=false
struct: 5
field: 0 n
tag: foo:"bar"
embedded: false
reflect type: int
int: 5
field: 1 some
tag:
embedded: false
reflect type: struct
struct: 2
field: 0 X
tag:
embedded: false
reflect type: int16
int: -5
field: 1 Y
tag:
embedded: false
reflect type: int16
int: 3
field: 2 zero
tag:
embedded: false
reflect type: struct
struct: 0
field: 3 buf
tag:
embedded: false
reflect type: slice comparable=false
slice: uint8 2 2
pointer: true
nil: false
indexing: 0
reflect type: uint8
uint: 71
indexing: 1
reflect type: uint8
uint: 111
field: 4 Buf
tag:
embedded: false
reflect type: slice comparable=false
slice: uint8 1 1
pointer: true
nil: false
indexing: 0
reflect type: uint8 settable=true
uint: 88
reflect type: ptr
pointer: true struct
nil: false
reflect type: struct settable=true
struct: 2
field: 0 next
tag: description:"chain"
embedded: false
reflect type: ptr
pointer: false struct
nil: true
field: 1 foo
tag:
embedded: false
reflect type: int
int: 42
sizes:
int8 1 8
int16 2 16
int32 4 32
int64 8 64
uint8 1 8
uint16 2 16
uint32 4 32
uint64 8 64
float32 4 32
float64 8 64
complex64 8 64
complex128 16 128
type assertion succeeded for unreferenced type
struct tags
blue gopher
|