type Request struct {
...
}
r1 := new(Request)
r2 := &Request{}
what"s the difference between R1 and R2?
I see net/http/request.go
func (r * Request) WithContext (ctx context.Context) * Request
in the standard library new
. After reading a lot of materials on the Internet, I can"t find out why I should use new.