我正在使用大理石项目:
type marble struct {
ObjectType string `json:"docType"` //docType is used to distinguish the various types of objects in state database
Name string `json:"name"` //the fieldtags are needed to keep case from bouncing around
Color string `json:"color"`
Size int `json:"size"`
Owner string `json:"owner"`
}
有没有Go函数来获取已经插入网络的大理石的平均尺寸和最大尺寸?
非常感谢您。