4 ms·errgroup has a SetLimit function to control the max number of concurrent go routines running at once.by theowaway213456 2mo agoerrgroup has a SetLimit function to control the max number of concurrent go routines running at once.