package bbxt type ResellerLoss struct { ResellerId int32 ResellerName string Total float64 ProductLoss map[int32]ProductLoss } type ProductLoss struct { ProductId int32 ProductName string Loss float64 }