Open 499689317 opened 6 years ago
Test Go Main
int 0 value 0
*int 0 value <nil> true
int ptr, 0x1400012c008, 0x0
string 0 value
*string 0 value <nil> true
string ptr, 0x14000110210, 0x0
array 0 value [0 0]
*array 0 value <nil> true
array ptr, 0x1400012c020, 0x0
[3 0] <nil>
slice 0 value []
*slice 0 value <nil> true
slice ptr, 0x1400011e018, 0x0
[]
map 0 value map[]
*map 0 value <nil> true
map ptr, 0x14000126020, 0x0
map[]
struct 0 value {0 0}
*struct 0 value <nil> true
struct ptr, 0x1400012c050, 0x0
{10 0} <nil>
interface 0 value <nil> true
interface ptr, <nil>
channel 0 value <nil> true
channel ptr, chan int, 0x0
new int value 0x1400012c080 0 false
new string value 0x14000110220 false
new array value &[0 0] [0 0] false
&[0 7]
new slice value &[] [] false
new map value &map[] map[] false
new struct value &{0 0} {0 0} false
&{1 0}
new interface value 0x14000110230 <nil> false true