Golang 使用reflect与Pointer获取传入的interface信息

使用反射能够获取到数据的类型信息,reflect.TypeOf()返回的数据类型以下:golang type rtype struct { size uintptr ptrdata uintptr // number of bytes in the type that can contain pointers hash uint32 // hash of
相关文章
相关标签/搜索