【golang】go-channel-goroutine實踐2

需求:獲取數組數據,對數據的原始數據逐個進行處理,後返回處理完的數據數組 目標:對列表數據進行逐個goroutine併發處理,再用select整合,返回數據併發 type money_per struct{ id int name string money float64 } type MoneyHandler interface { Bat
相關文章
相關標籤/搜索