Hacker News new | ask | show | jobs
by bilinguliar 1386 days ago
This is true. In the case of REST, it is your “encoding/json” who will allocate for int pointer. So I do not see why new() is needed.