Closed greenpipig closed 4 years ago
Sorry, but i don't believe this is the right design choice for a library. Choices like checking for a receiver's nil pointer dereferencing is specific to the developer's use cases, and a library should not be making such assumptions.
Change-Id: I51f8f0d5b94bcdfdf8845b37edc63498f4d4cda6 when i use it ,i find if the r.poniter is nil,will panic,i thought add a judge will be fine