Go中 uintptr和 unsafe.Pointer 的区别?

答案解析

uintptr是整数类型,保存地址数值;unsafe.Pointer是通用指针类型,可转换任意指针类型。uintptr不能直接做指针运算。