结构体之间的转换
将DBDiskGroupInfo 转换为DiskGroupInfo 还有跟快的吗??? ~~~ package main import ( "fmt" "unsafe" ) type DBDiskGroupInfo struct { ZoneID int32 `bson:"ZoneID"` GroupID int32 `bson:"GroupID"` Status int32 `bson:"Status"` Dids []int32 `bson:"DidList"` } type DiskGroupInfo struct { ZoneID uint32 `bson:"ZoneID"` GroupID uint...阅读全文