In Go, is there a notable difference between the following two segments of code:
v := &Vector{}
as opposed to
v := new(Vector)
See Question&Answers more detail:osIn Go, is there a notable difference between the following two segments of code:
v := &Vector{}
as opposed to
v := new(Vector)
See Question&Answers more detail:os