Comment on Go 1.26 Interactive TourComments−throwawaygod7moThe differences btwn new() and make() is even lesser now. Is the goal is to deprecate make()?−ptman7moHow would you dup := make([]int, 0, len(slice)) then?
Comments
The differences btwn new() and make() is even lesser now. Is the goal is to deprecate make()?
How would you dup := make([]int, 0, len(slice)) then?